Skip to content

Commit f651bc3

Browse files
author
Sebastian Bauersfeld
committed
Adjust locations of results in JSP files. This is necessary due to known limitations in VSCode which cause locations with zero character indices to be mapped to invalid ranges. This is hopefully a temporary workaround until this problem has been properly addressed.
1 parent d8d9073 commit f651bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/lib/semmle/code/SMAP.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,6 @@ predicate hasSmapLocationInfo(
5252
smap(inputFile, isl, outputFile, osl) and
5353
smap(inputFile, iel - 1, outputFile, oel) and
5454
isc = 1 and
55-
iec = 0
55+
iec = 1
5656
)
5757
}

0 commit comments

Comments
 (0)