Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec2e4f4 commit d41e517Copy full SHA for d41e517
1 file changed
cpp/ql/lib/semmle/code/cpp/commons/NullTermination.qll
@@ -54,7 +54,7 @@ predicate mayAddNullTerminator(Expr e, VariableAccess va) {
54
not functionArgumentMustBeNullTerminated(f, i) and
55
c.getAnArgumentSubExpr(i) = va
56
|
57
- not f.hasEntryPoint() and not functionArgumentMustBeNullTerminated(f, i)
+ not f.hasEntryPoint()
58
or
59
mayAddNullTerminator(_, f.getParameter(i).getAnAccess())
60
0 commit comments