File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
cpp/ql/lib/semmle/code/cpp/security/InvalidPointerDereference Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 19
19
* Merely _constructing_ a pointer that's out-of-bounds is fine if the pointer is never dereferenced (in reality, the
20
20
* standard only guarantees that it is safe to move the pointer one element past the last element, but we ignore that
21
21
* here). So this step is about identifying which of the out-of-bounds pointers found by `pointerAddInstructionHasBounds`
22
- * in `AllocationToInvalidPointer.qll` that are actually being dereferenced. We do this using a regular dataflow
22
+ * in `AllocationToInvalidPointer.qll` are actually being dereferenced. We do this using a regular dataflow
23
23
* configuration (see `InvalidPointerToDerefConfig`).
24
24
*
25
25
* This dataflow traversal defines the set of sources as any dataflow node `n` such that there exists a pointer-arithmetic
You can’t perform that action at this time.
0 commit comments