too small array
This commit is contained in:
1 parent
680121b178
commit
ec3effcb30
1 file changed
+1
-1
@@ -137,7 +137,7 @@ int demodIOProx(bool verbose) {
|
||||
calccrc &= 0xff;
|
||||
calccrc = 0xff - calccrc;
|
||||
|
||||
char crc_str[36] = {0};
|
||||
char crc_str[40] = {0};
|
||||
|
||||
if (crc == calccrc) {
|
||||
snprintf(crc_str, sizeof(crc_str), "( " _GREEN_("ok") " )");
|
||||
|
||||
Reference in new issue
Block a user