Commit graph

22 commits

Author SHA1 Message Date
mwalker33 38358e2e2a Update cliparser.c
Change white to default user color
2020-09-30 07:28:05 +10:00
mwalker33 45ca5c416d Update cliparser.c
Adjusted to meet RRG format style and color.
2020-09-29 20:21:34 +10:00
Ave 9c5c00d620
Allow writes up to 256 bytes with mfdes writedata
And change help text to say 256 instead of 0xFFFF.

Closes #977
2020-09-27 19:40:13 +03:00
iceman1001 61be7c7c30 chg: cliparse should have atleast same file_max_path_len 2020-06-10 13:31:57 +02:00
Philippe Teuwen cb614f3f11 cliparser: generalize ctx usage 2020-06-10 11:34:33 +02:00
Philippe Teuwen 569107579e Fix cliparser buffer allocation 2020-06-10 11:33:15 +02:00
iceman1001 653f5b4e5d chg: make define 2020-06-02 13:35:16 +02:00
iceman1001 7064b73b48 chg parsing free Thanks @doegox! 2020-06-02 13:27:54 +02:00
iceman1001 f830843442 coverity.. 2020-06-02 13:09:29 +02:00
iceman1001 cc6f497897 cppcheck 2020-06-02 12:56:38 +02:00
iceman1001 2daa2c09fd fix coverity 290266 2020-06-02 11:27:47 +02:00
iceman1001 5b1e16b14e cppcheck warning 2020-06-02 09:24:23 +02:00
Philippe Teuwen 6326c4126c cliparser: remove global vars 2020-06-02 00:49:54 +02:00
Philippe Teuwen 8a9c7d2efc argtable3: fix buffer overrun
This bug was suddently triggered by Appveyor compilation and seems to make sense.

[-] CC argtable3.c

    inlined from 'arg_cat_option' at argtable3.c:4208:13,
    inlined from 'arg_print_syntax' at argtable3.c:4392:9:
argtable3.c:4149:11: error: writing 1 byte into a region of size 0 [-Werror=stringop-overflow=]
 4149 |     *dest = 0;
      |     ~~~~~~^~~
argtable3.c: In function 'arg_print_syntax':
argtable3.c:4381:14: note: at offset 200 to object 'syntax' with size 200 declared here
 4381 |         char syntax[200] = "";
      |              ^~~~~~
2020-05-10 23:59:46 +02:00
Philippe Teuwen 3c9a19d4c1 Revert "update argtable3"
It was an attempt to solve the mysterious reveng getopt bug
but it brings more troubles and throws away multi-platform pm3 tuning

This reverts commit f3790a89a5.
2020-05-07 01:00:40 +02:00
Philippe Teuwen f3790a89a5 update argtable3 2020-05-06 23:33:30 +02:00
Philippe Teuwen c94eae0046 fix warning about cast realignment, WIP 2020-05-03 17:34:01 +02:00
Philippe Teuwen 3529aea157 stricter warnings, wip 2020-05-03 01:13:28 +02:00
Philippe Teuwen fbe4e20326 remove c99 and c++11 restrictions 2020-04-24 16:43:21 +02:00
Philippe Teuwen 4967096e3b make/cmake cliparser lib and remove redundant getopt from reveng 2020-04-19 12:40:50 +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