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

Skip to content

Commit 9cb09d6

Browse files
MathiasVPjketema
andauthored
Update cpp/ql/lib/semmle/code/cpp/security/InvalidPointerDereference/AllocationToInvalidPointer.qll
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent aa6bf67 commit 9cb09d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
* 7. }
5050
* ```
5151
* In order to remove this false positive we define a barrier (see `Barrier2::BarrierConfig2`) that finds the possible guards
52-
* that compares a value to the size of the allocation. In the above example, that's the `(n >= size)` guard on line 3.
52+
* that compares a value to the size of the allocation. In the above example, this is the `(n >= size)` guard on line 3.
5353
* `Barrier2::getABarrierNode` then defines any node that is guarded by such a guard as a barrier in the dataflow configuration.
5454
*/
5555

0 commit comments

Comments
 (0)