Skip to content

Commit 0243e2b

Browse files
committed
C/C++ overlay: Discard xml entities
1 parent 6feded9 commit 0243e2b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cpp/ql/lib/semmle/code/cpp/internal/Overlay.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ private string getSingleLocationFilePath(@element e) {
3232
macroinvocations(e, _, loc, _)
3333
or
3434
preprocdirects(e, _, loc)
35+
or
36+
xmllocations(e, loc)
3537
|
3638
result = getLocationFilePath(loc)
3739
)

0 commit comments

Comments
 (0)