Skip to content

Commit 485d426

Browse files
author
Max Schaefer
committed
C#: Fix use of PathNode.getLocation().
1 parent eb8087f commit 485d426

File tree

1 file changed

+1
-1
lines changed
  • csharp/ql/src/semmle/code/csharp/security/dataflow

1 file changed

+1
-1
lines changed

csharp/ql/src/semmle/code/csharp/security/dataflow/XSS.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module XSS {
9292

9393
override string toString() { result = node.toString() }
9494

95-
override Location getLocation() { result = node.getLocation() }
95+
override Location getLocation() { result = node.getNode().getLocation() }
9696
}
9797

9898
/** An ASP inline code element, viewed as an XSS flow node. */

0 commit comments

Comments
 (0)