Skip to content

Commit c728c78

Browse files
authored
* @precision medium
1 parent 6d91eff commit c728c78

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cpp/ql/src/Critical/OverflowCalculated.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* @name Buffer overflow from insufficient space or incorrect size calculation
33
* @description A buffer allocated using 'malloc' may not have enough space for a string being copied into it, or wide character functions may receive incorrect size parameters causing buffer overrun. Make sure that buffers contain enough room for strings (including zero terminator) and that size parameters are correctly calculated.
44
* @kind problem
5+
* @precision medium
56
* @id cpp/overflow-calculated
67
* @problem.severity warning
78
* @security-severity 9.8

0 commit comments

Comments
 (0)