We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5d5460 commit 25beadcCopy full SHA for 25beadc
cpp/ql/test/query-tests/Security/CWE/CWE-079/semmle/CgiXss/search.c
@@ -37,7 +37,7 @@ void good_server1(char* query) {
37
puts(do_search(query));
38
}
39
40
-int scanf(const char *, ...);
+int sscanf(const char *s, const char *format, ...);
41
42
void good_server2(char* query) {
43
puts("<p>Query results for ");
@@ -59,4 +59,3 @@ int main(int argc, char** argv) {
59
good_server2(raw_query);
60
61
62
-
0 commit comments