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

Skip to content

Commit 369cee9

Browse files
MathiasVPgeoffw0
andauthored
Update cpp/ql/lib/semmle/code/cpp/security/InvalidPointerDereference/InvalidPointerToDereference.qll
Co-authored-by: Geoffrey White <[email protected]>
1 parent 922f4d5 commit 369cee9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* actually being dereferenced. We do this using a regular dataflow configuration (see `InvalidPointerToDerefConfig`).
2222
*
2323
* This dataflow traversal defines the set of sources as any dataflow node that is non-strictly upper-bounded by the
24-
* pointer-arithmetic instruction identified by `AllocationToInvalidPointer.qll`. (TOOD: I'm pretty sure this is incorrect,
24+
* pointer-arithmetic instruction identified by `AllocationToInvalidPointer.qll`. (TODO: I'm pretty sure this is incorrect,
2525
* and we should define the set of sources as anything that is non-strictly _lower_ bounded by the pointer-arithmetic
2626
* instruction). That is, the set of sources is any dataflow node `source` such that `source.asInstruction <= pai + delta1`
2727
* for some `delta1 >= 0`.

0 commit comments

Comments
 (0)