Skip to content

Commit

Permalink
C++: Strip away specifiers and typedefs when finding iterator paramet…
Browse files Browse the repository at this point in the history
…ers for a string taint function.
  • Loading branch information
MathiasVP committed Jul 12, 2024
1 parent 1a2b4a3 commit 813f08e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ abstract private class StdStringTaintFunction extends TaintFunction {
* Gets the index of a parameter to this function that is an iterator.
*/
final int getAnIteratorParameterIndex() {
this.getParameter(result).getType() instanceof Iterator
this.getParameter(result).getUnspecifiedType() instanceof Iterator
}
}

Expand Down

0 comments on commit 813f08e

Please sign in to comment.