Skip to content

Commit 1c87875

Browse files
committed
C++: Drop the size return value of strlcat from hasTaintFlow
1 parent 5e21a5d commit 1c87875

File tree

1 file changed

+1
-1
lines changed
  • cpp/ql/lib/semmle/code/cpp/models/implementations

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/models/implementations/Strcat.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class StrlcatFunction extends TaintFunction, ArrayFunction, SideEffectFunction {
124124
or
125125
input.isParameterDeref(1)
126126
) and
127-
(output.isParameterDeref(0) or output.isReturnValue())
127+
output.isParameterDeref(0)
128128
}
129129

130130
override predicate hasArrayInput(int param) {

0 commit comments

Comments
 (0)