mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
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:
committed by
GitHub
parent
5270cf6c41
commit
8ab2f89d53
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user