Skip to content

Commit a176ba2

Browse files
MathiasVPjketema
andauthored
Update cpp/ql/lib/semmle/code/cpp/security/InvalidPointerDereference/InvalidPointerToDereference.qll
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent 6ebd5ab commit a176ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/security/InvalidPointerDereference/InvalidPointerToDereference.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
* Consider the following snippet:
4646
* ```cpp
4747
* 1. char *p = new char[size];
48-
* 2. char *end = p + size; // $ alloc=L363
48+
* 2. char *end = p + size;
4949
* 3. if (p < end) {
5050
* 4. p += 1;
5151
* 5. }

0 commit comments

Comments
 (0)