Buffer overrun: also check the 'memcopy' parameters.
This commit is contained in:
parent
921dd3cf21
commit
b44e82bc22
|
@ -70,6 +70,7 @@ void CheckBufferOverrun()
|
||||||
// memset, memcmp, memcpy, strncpy, fgets..
|
// memset, memcmp, memcpy, strncpy, fgets..
|
||||||
if (strcmp(tok2->str,"memset")==0 ||
|
if (strcmp(tok2->str,"memset")==0 ||
|
||||||
strcmp(tok2->str,"memcpy")==0 ||
|
strcmp(tok2->str,"memcpy")==0 ||
|
||||||
|
strcmp(tok2->str,"memmove")==0 ||
|
||||||
strcmp(tok2->str,"memcmp")==0 ||
|
strcmp(tok2->str,"memcmp")==0 ||
|
||||||
strcmp(tok2->str,"strncpy")==0 ||
|
strcmp(tok2->str,"strncpy")==0 ||
|
||||||
strcmp(tok2->str,"fgets")==0 )
|
strcmp(tok2->str,"fgets")==0 )
|
||||||
|
|
Loading…
Reference in New Issue