Skip to content

Commit 585606a

Browse files
committed
C++: Respond to review comments.
1 parent 0b4650a commit 585606a

File tree

1 file changed

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

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ import semmle.code.cpp.models.interfaces.SideEffect
1515
private class Accept extends ArrayFunction, AliasFunction, TaintFunction, SideEffectFunction {
1616
Accept() { this.hasGlobalName(["accept", "accept4", "WSAAccept"]) }
1717

18-
override predicate hasArrayWithVariableSize(int bufParam, int countParam) {
19-
bufParam = 1 and countParam = 2
20-
}
18+
override predicate hasArrayWithUnknownSize(int bufParam) { bufParam = 1 }
2119

2220
override predicate hasArrayInput(int bufParam) { bufParam = 1 }
2321

0 commit comments

Comments
 (0)