mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
C++: Fix warnings.
This commit is contained in:
@@ -149,9 +149,9 @@ abstract class FormattingFunction extends ArrayFunction, TaintFunction {
|
||||
not exists(getSizeParameterIndex())
|
||||
}
|
||||
|
||||
predicate hasArrayInput(int bufParam) { bufParam = getFormatParameterIndex() }
|
||||
override predicate hasArrayInput(int bufParam) { bufParam = getFormatParameterIndex() }
|
||||
|
||||
predicate hasArrayOutput(int bufParam) { bufParam = getOutputParameterIndex() }
|
||||
override predicate hasArrayOutput(int bufParam) { bufParam = getOutputParameterIndex() }
|
||||
|
||||
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
|
||||
input.isParameterDeref(getFormatParameterIndex()) and
|
||||
|
||||
Reference in New Issue
Block a user