Skip to content

Commit 2c2f9b9

Browse files
committed
C++: Fix comment.
1 parent 19872d5 commit 2c2f9b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-193/InvalidPointerDeref.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ predicate invalidPointerToDerefSource(
421421
}
422422

423423
newtype TMergedPathNode =
424-
// The path nodes computed by the first projection of `AllocToInvalidPointerConfig`
424+
// The path from the allocation to the address of the store/load.
425425
TFinalPathNode(FinalFlow::PathNode p) or
426426
// The read/write that uses the invalid pointer identified by `InvalidPointerToDerefConfig`.
427427
// This one is needed because the sink identified by `InvalidPointerToDerefConfig` is the

0 commit comments

Comments
 (0)