iceman1001
|
3502da17df
|
assert its smaller than 5
|
2024-05-12 19:36:28 +02:00 |
|
iceman1001
|
c50f109f05
|
the failed compiling on MINGW/proxspace warns over a overflow in buffer[5], the return value in utf8_check_first() can be 0 - 4, which used later in loop as index with 1 as start offset. a 4 will overflow the buffer[5]. Increased buffer with to just in case to support the zero terminator. Another option where this code will bail out is, 0 is goto out, 1 will trigger the assert and break client. A bit ruff I say.
|
2024-05-12 19:14:17 +02:00 |
|
Philippe Teuwen
|
3872b5bd66
|
Move back jansson_path as it's not part of upstream and breaks usage of system jansson lib
|
2020-10-07 01:11:40 +02:00 |
|
iceman1001
|
f856087aa9
|
move jansson files from client
|
2020-10-06 21:45:32 +02:00 |
|
iceman1001
|
64f9bb5e01
|
style
|
2020-10-06 18:00:00 +02:00 |
|
iceman1001
|
01c35a9bfb
|
style
|
2020-10-06 16:17:57 +02:00 |
|
iceman1001
|
dcdd9ce364
|
nothing special
|
2020-06-03 15:02:35 +02:00 |
|
Philippe Teuwen
|
9d97962759
|
use system jansson if available
|
2020-05-24 23:21:30 +02:00 |
|
Philippe Teuwen
|
b46a99d7d7
|
remove switch-enum warnings
|
2020-05-11 23:50:14 +02:00 |
|
Philippe Teuwen
|
4d4984657e
|
activate more warnings and ease their mgmt
|
2020-05-03 19:46:11 +02:00 |
|
Philippe Teuwen
|
c94eae0046
|
fix warning about cast realignment, WIP
|
2020-05-03 17:34:01 +02:00 |
|
Philippe Teuwen
|
0e39cb8e34
|
stricter warnings, wip
|
2020-05-02 23:54:27 +02:00 |
|
iceman1001
|
f416fa9b4f
|
cppchecker fixes
|
2020-04-26 12:56:19 +02:00 |
|
Philippe Teuwen
|
fbe4e20326
|
remove c99 and c++11 restrictions
|
2020-04-24 16:43:21 +02:00 |
|
Philippe Teuwen
|
31e79905f8
|
Clean more old paths
|
2020-04-21 01:44:31 +02:00 |
|
iceman1001
|
1bf32aad90
|
Chg: android adaptions from @xianglin1998
|
2020-04-16 16:46:09 +02:00 |
|
Bjoern Kerler
|
81bc0bc2b9
|
Reorder client src directories
|
2020-04-16 10:53:24 +02:00 |
|