Skip to content

Commit 3fb4219

Browse files
criemengeoffw0
andauthored
Apply suggestions from code review
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
1 parent a04883c commit 3fb4219

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ private class StdSequenceContainerData extends TaintFunction {
110110
*/
111111
private class StdSequenceContainerPush extends TaintFunction {
112112
StdSequenceContainerPush() {
113-
this.getClassAndName("push_back") instanceof Array or
113+
this.getClassAndName("push_back") instanceof Vector or
114114
this.getClassAndName(["push_back", "push_front"]) instanceof Deque or
115115
this.getClassAndName("push_front") instanceof ForwardList or
116-
this.getClassAndName("push_back") instanceof List
116+
this.getClassAndName(["push_back", "push_front"]) instanceof List
117117
}
118118

119119
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {

0 commit comments

Comments
 (0)