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

Co-authored-by: Jeroen Ketema <93738568+jketema@users.noreply.github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2023-07-24 12:03:52 +02:00
committed by GitHub
parent 5270cf6c41
commit 8ab2f89d53

View File

@@ -50,7 +50,7 @@
* ```
* In order to remove this false positive we define a barrier (see `Barrier2::BarrierConfig2`) that finds the possible guards
* that compares a value to the size of the allocation. In the above example, that's the `(n >= size)` guard on line 3.
* `Barrier2::getABarrierNode` then defines any node that's guarded by such a guard as a barrier in the dataflow configuration.
* `Barrier2::getABarrierNode` then defines any node that is guarded by such a guard as a barrier in the dataflow configuration.
*/
private import cpp