Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a04883c commit 3fb4219Copy full SHA for 3fb4219
1 file changed
cpp/ql/src/semmle/code/cpp/models/implementations/StdContainer.qll
@@ -110,10 +110,10 @@ private class StdSequenceContainerData extends TaintFunction {
110
*/
111
private class StdSequenceContainerPush extends TaintFunction {
112
StdSequenceContainerPush() {
113
- this.getClassAndName("push_back") instanceof Array or
+ this.getClassAndName("push_back") instanceof Vector or
114
this.getClassAndName(["push_back", "push_front"]) instanceof Deque or
115
this.getClassAndName("push_front") instanceof ForwardList or
116
- this.getClassAndName("push_back") instanceof List
+ this.getClassAndName(["push_back", "push_front"]) instanceof List
117
}
118
119
override predicate hasTaintFlow(FunctionInput input, FunctionOutput output) {
0 commit comments