File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
cpp/ql/src/semmle/code/cpp/models/implementations Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class StdStringCStr extends TaintFunction {
1616 override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
1717 // flow from string itself (qualifier) to return value
1818 input .isQualifierObject ( ) and
19- output .isReturnValue ( )
19+ output .isReturnValueDeref ( )
2020 }
2121}
2222
@@ -29,7 +29,7 @@ class StdStringData extends TaintFunction {
2929 override predicate hasTaintFlow ( FunctionInput input , FunctionOutput output ) {
3030 // flow from string itself (qualifier) to return value
3131 input .isQualifierObject ( ) and
32- output .isReturnValue ( )
32+ output .isReturnValueDeref ( )
3333 or
3434 // reverse flow from returned reference to the qualifier (for writes to
3535 // `data`)
You can’t perform that action at this time.
0 commit comments