mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Update test.c
This commit is contained in:
@@ -5,9 +5,9 @@ void workFunction_0(char *s) {
|
|||||||
int intSize;
|
int intSize;
|
||||||
char buf[80];
|
char buf[80];
|
||||||
if(intSize>0 && intSize<80 && memset(buf,0,intSize)) return; // GOOD
|
if(intSize>0 && intSize<80 && memset(buf,0,intSize)) return; // GOOD
|
||||||
if(intSize>0 & intSize<80 & memset(buf,0,intSize)) return; // BAD
|
if(intSize>0 & intSize<80 & memset(buf,0,intSize)) return; // BAD [NOT DETECTED]
|
||||||
if(intSize>0 && tmpFunction()) return;
|
if(intSize>0 && tmpFunction()) return;
|
||||||
if(intSize<0 & tmpFunction()) return; // BAD
|
if(intSize<0 & tmpFunction()) return; // BAD [NOT DETECTED]
|
||||||
}
|
}
|
||||||
void workFunction_1(char *s) {
|
void workFunction_1(char *s) {
|
||||||
int intA,intB;
|
int intA,intB;
|
||||||
|
|||||||
Reference in New Issue
Block a user