We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d5b198 commit 88d3fcbCopy full SHA for 88d3fcb
cpp/ql/lib/semmle/code/cpp/security/InvalidPointerDereference/AllocationToInvalidPointer.qll
@@ -169,7 +169,7 @@ private module SizeBarrier {
169
exists(int delta, int k |
170
state > k + delta and
171
// result <= "size of allocation" + delta + k
172
- // <= "size of allocation" + state
+ // < "size of allocation" + state
173
result = getABarrierInstruction0(delta, k)
174
)
175
}
@@ -198,7 +198,7 @@ private module SizeBarrier {
198
state > k + delta
199
// so now we have:
200
201
202
203
204
0 commit comments