aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordrh <>2023-04-29 00:59:22 +0000
committerdrh <>2023-04-29 00:59:22 +0000
commitf176776bd73a54e96aa83d9f2fefa4a919cea876 (patch)
tree6f97ed2267968944fea19e0cc6f9c9cf6882eeca /src
parent8f3fe2ead2103c766380081520b1579481f661d4 (diff)
downloadsqlite-f176776bd73a54e96aa83d9f2fefa4a919cea876.tar.gz
sqlite-f176776bd73a54e96aa83d9f2fefa4a919cea876.zip
Correctly recognize an isolated U+feff as a space character in JSON5.
FossilOrigin-Name: 4473dc8e3ad18bb6185ed4a819baf881a7d26ac74bc70fae6ba23a0030be8316
Diffstat (limited to 'src')
-rw-r--r--src/json.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c
index f2856a841..deeb10767 100644
--- a/src/json.c
+++ b/src/json.c
@@ -1492,7 +1492,8 @@ json_parse_restart:
case 0xc2:
case 0xe1:
case 0xe2:
- case 0xe3: {
+ case 0xe3:
+ case 0xef: {
j = json5Whitespace(&z[i]);
if( j>0 ){
i += j;