Update test.c

This commit is contained in:
ihsinme
2021-04-08 22:05:31 +03:00
committed by GitHub
parent cbf158ea6b
commit 3d117243e4

View File

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