Skip to content

Commit 965d482

Browse files
committed
C++: Consistency.
1 parent dea7be0 commit 965d482

File tree

1 file changed

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

1 file changed

+1
-4
lines changed

cpp/ql/src/semmle/code/cpp/models/implementations/Strftime.qll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,7 @@ class Strftime extends TaintFunction, ArrayFunction {
1010
input.isParameterDeref(2) or
1111
input.isParameterDeref(3)
1212
) and
13-
(
14-
output.isParameterDeref(0) or
15-
output.isReturnValue()
16-
)
13+
output.isParameterDeref(0)
1714
}
1815

1916
override predicate hasArrayWithNullTerminator(int bufParam) { bufParam = 2 }

0 commit comments

Comments
 (0)