a memory overflow in shell-vars.c
" sprintf(numbuf, "0x%02x 0x%02x 0x%02x 0x%02x 0x%02x 0x%02x 0x%02x 0x%02x",...)" . the formatted data wrote to "numbuf" is 39 bytes, but numbuf is 32 bytes.
This commit is contained in:
parent
9a5682b75b
commit
915facad22
|
@ -90,7 +90,8 @@ PROCESS_THREAD(shell_var_process, ev, data)
|
|||
{
|
||||
int i;
|
||||
int j;
|
||||
char numbuf[32];
|
||||
|
||||
char numbuf[39];
|
||||
|
||||
PROCESS_BEGIN();
|
||||
|
||||
|
|
Loading…
Reference in a new issue