Buffer overrun: also check the 'memcopy' parameters.

This commit is contained in:
Daniel Marjamäki 2007-06-05 20:29:58 +00:00
parent 921dd3cf21
commit b44e82bc22
1 changed files with 1 additions and 0 deletions

View File

@ -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 )