Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fc5e7e5

Browse files
committed
CPP: Test the new query.
1 parent 88f363d commit fc5e7e5

4 files changed

Lines changed: 7 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| tests.cpp:112:9:112:12 | call to gets | gets does not guard against buffer overflow |
2+
| tests.cpp:249:2:249:5 | call to gets | gets does not guard against buffer overflow |
3+
| tests.cpp:250:2:250:5 | call to gets | gets does not guard against buffer overflow |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Security/CWE/CWE-676/DangerousUseOfGets.ql
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
| test.c:42:2:42:5 | call to gets | gets does not guard against buffer overflow |
2+
| test.c:43:6:43:9 | call to gets | gets does not guard against buffer overflow |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Security/CWE/CWE-676/DangerousUseOfGets.ql

0 commit comments

Comments
 (0)