CPP: Test the new query.

This commit is contained in:
Geoffrey White
2019-05-10 14:46:32 +01:00
parent 88f363d564
commit fc5e7e5e91
4 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
| tests.cpp:112:9:112:12 | call to gets | gets does not guard against buffer overflow |
| tests.cpp:249:2:249:5 | call to gets | gets does not guard against buffer overflow |
| tests.cpp:250:2:250:5 | call to gets | gets does not guard against buffer overflow |

View File

@@ -0,0 +1 @@
Security/CWE/CWE-676/DangerousUseOfGets.ql

View File

@@ -0,0 +1,2 @@
| test.c:42:2:42:5 | call to gets | gets does not guard against buffer overflow |
| test.c:43:6:43:9 | call to gets | gets does not guard against buffer overflow |

View File

@@ -0,0 +1 @@
Security/CWE/CWE-676/DangerousUseOfGets.ql