We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af904f5 commit 7f7930bCopy full SHA for 7f7930b
cpp/ql/src/experimental/Security/CWE/CWE-193/InvalidPointerDeref.ql
@@ -29,7 +29,7 @@
29
* In order to do this, we split the problem into three subtasks:
30
* 1. First, we find flow from `new int[size]` to `base + size`.
31
* 2. Then, we find flow from `base + size` to `end` (on line 3).
32
- * 3. Finally, we use range-analysis to find a write to (or read from) a pointer that may be equal to `end`.
+ * 3. Finally, we use range-analysis to find a write to (or read from) a pointer that may be greater than or equal to `end`.
33
*
34
* Step 1 is implemented in `AllocationToInvalidPointer.qll`, and step 2 is implemented by
35
* `InvalidPointerToDereference.qll`. See those files for the description of these.
0 commit comments