Skip to content

Commit 47644b0

Browse files
committed
CPP: Normalize spacing.
1 parent 4326699 commit 47644b0

File tree

1 file changed

+2
-3
lines changed
  • cpp/ql/src/semmle/code/cpp/models/implementations

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class StrcpyFunction extends ArrayFunction, DataFlowFunction, TaintFunction {
4343
bufParam = 0 and
4444
countParam = 2
4545
}
46-
46+
4747
override predicate hasArrayWithUnknownSize(int bufParam) {
4848
(
4949
this.hasName("strcpy") or
@@ -52,7 +52,6 @@ class StrcpyFunction extends ArrayFunction, DataFlowFunction, TaintFunction {
5252
) and
5353
bufParam = 0
5454
}
55-
5655

5756
override predicate hasDataFlow(FunctionInput input, FunctionOutput output) {
5857
(
@@ -76,7 +75,7 @@ class StrcpyFunction extends ArrayFunction, DataFlowFunction, TaintFunction {
7675
output.isOutReturnValue()
7776
)
7877
}
79-
78+
8079
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
8180
(
8281
// these may do only a partial copy of the input buffer to the output

0 commit comments

Comments
 (0)