mirror of
https://github.com/github/codeql.git
synced 2026-04-22 15:25:18 +02:00
CharacterLiteral.getCodePointValue: fix handling of surrogates
This commit is contained in:
3
java/change-notes/2021-11-25-surrogate-char-literals.md
Normal file
3
java/change-notes/2021-11-25-surrogate-char-literals.md
Normal file
@@ -0,0 +1,3 @@
|
||||
lgtm,codescanning
|
||||
* `CharacterLiteral`'s `getCodePointValue` predicate now returns the correct value for UTF-16 surrogates.
|
||||
* The `RangeAnalysis` module and the `java/constant-comparison` queries no longer raise false alerts regarding comparisons with Unicode surrogate character literals.
|
||||
Reference in New Issue
Block a user