Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa3ce61 commit a094e6fCopy full SHA for a094e6f
1 file changed
cpp/ql/test/experimental/query-tests/Security/CWE/CWE-754/semmle/tests/test.cpp
@@ -115,8 +115,8 @@ int functionWork2b_() {
115
globalVala2 = a[0];
116
return 0;
117
}
118
-int functionWork3b(int i) {
119
- scanf("%i", &i); // BAD
+int functionWork3b(int * i) {
+ scanf("%i", i); // BAD
120
121
122
int functionWork3() {
0 commit comments