Skip to content

Commit 0243e2b

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

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)