Skip to content

Commit 68929d1

Browse files
committed
Fix definition of ClearSanitizer
1 parent eec2aa8 commit 68929d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

go/ql/lib/semmle/go/dataflow/internal/TaintTrackingUtil.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ private class ClearSanitizer extends DefaultTaintSanitizer {
423423
arg = call.getAnArgument() and
424424
arg = var.getAUse() and
425425
arg != this and
426-
this.getBasicBlock().(ReachableBasicBlock).dominates(this.getBasicBlock())
426+
arg.getBasicBlock().(ReachableBasicBlock).dominates(this.getBasicBlock())
427427
)
428428
}
429429
}

0 commit comments

Comments
 (0)