We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68eba11 commit 19b7d46Copy full SHA for 19b7d46
cpp/ql/test/experimental/query-tests/Security/CWE/CWE-788/semmle/tests/test.c
@@ -18,6 +18,7 @@ void workFunction_2_0(char *s) {
18
strncat(buf, s, len-strlen(buf)-1); // GOOD
19
strncat(buf, s, len-strlen(buf)); // BAD
20
strncat(buf, "fix", len-strlen(buf)); // BAD [NOT DETECTED]
21
+}
22
void workFunction_2_1(char *s) {
23
char * buf;
24
int len=80;
0 commit comments