Skip to content

Commit 88a06ff

Browse files
authored
Update GetText.qll
Fixing issue based on review.
1 parent 022276b commit 88a06ff

File tree

1 file changed

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

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ class GetTextFunction extends DataFlowFunction {
2828
GetTextFunction() { argInd = getTextArg(this) }
2929

3030
override predicate hasDataFlow(FunctionInput input, FunctionOutput output) {
31-
input.isParameter(argInd) and output.isReturnValue()
32-
or
3331
input.isParameterDeref(argInd) and output.isReturnValueDeref()
3432
}
3533
}

0 commit comments

Comments
 (0)