Skip to content

Commit 09ce955

Browse files
committed
CPP: Fix merge.
1 parent 6234b26 commit 09ce955

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cpp/ql/src/Critical/OverflowCalculated.ql

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,6 @@ class MallocCall extends FunctionCall {
2929
}
3030
}
3131

32-
predicate terminationProblem(MallocCall malloc, string msg) {
33-
malloc.getAllocatedSize() instanceof StrlenCall and
34-
msg = "This allocation does not include space to null-terminate the string."
35-
}
36-
3732
predicate spaceProblem(FunctionCall append, string msg) {
3833
exists(MallocCall malloc, StrlenCall strlen, AddExpr add, FunctionCall insert, Variable buffer |
3934
add.getAChild() = strlen and

0 commit comments

Comments
 (0)