GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — codeql/cpp/ql/src/Critical/MissingCheckScanf.cpp at codeql-cli/v2.25.2 · github/codeql Expand file tree/ Copy pathMissingCheckScanf.cppMore file actions 17 lines (12 loc) · 266 Bytes / Copy pathMissingCheckScanf.cppFile metadata and controls17 lines (12 loc) · 266 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 { int i, j, r; r = scanf("%d %d", &i, &j); use(i); // BAD: i is not guarded if (r >= 1) { use(i); // GOOD: i is guarded correctly use(j); // BAD: j is guarded incorrectly } if (r != 2) return; use(j); // GOOD: j is guarded correctly } |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |