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

Skip to content

Commit 8856442

Browse files
committed
CPP: Add NoSpaceForZeroTerminator to the OverflowCalculated test.
1 parent 12650f8 commit 8856442

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
| tests1.cpp:26:21:26:26 | call to malloc | This allocation does not include space to null-terminate the string. |
2+
| tests1.cpp:67:21:67:26 | call to malloc | This allocation does not include space to null-terminate the string. |
3+
| tests1.cpp:89:25:89:30 | call to malloc | This allocation does not include space to null-terminate the string. |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Security/CWE/CWE-131/NoSpaceForZeroTerminator.ql

0 commit comments

Comments
 (0)