Skip to content

Commit 78cc8f0

Browse files
committed
C++: Shorter description.
1 parent 5382ef7 commit 78cc8f0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cpp/ql/src/Likely Bugs/Memory Management/SuspiciousCallToStrncat.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/**
22
* @name Potentially unsafe call to strncat
3-
* @description Calling `strncat` with the size of the destination buffer as the third argument may result in a buffer overflow.
4-
* Similarly, calling `strncat` with `sizeof (dest) - strlen (dest)` as the third argument may result in a buffer overflow.
3+
* @description Calling 'strncat' with an incorrect size argument may result in a buffer overflow.
54
* @kind problem
65
* @problem.severity warning
76
* @precision medium

0 commit comments

Comments
 (0)