diff options
author | drh <> | 2023-12-13 15:27:03 +0000 |
---|---|---|
committer | drh <> | 2023-12-13 15:27:03 +0000 |
commit | f7c78a240874e5a008f7e1740e264146c8026fdf (patch) | |
tree | b5fbb3e6ddd2bc1f2e733a5126f4f5930f167571 /src/json.c | |
parent | 001d1e795cfb58c2e0f217374efe2fdef797ad22 (diff) | |
download | sqlite-f7c78a240874e5a008f7e1740e264146c8026fdf.tar.gz sqlite-f7c78a240874e5a008f7e1740e264146c8026fdf.zip |
Bug fix in the JSONB validator.
dbsqlfuzz ac6fa521a08609a642198e7decf64180e750b3c4
FossilOrigin-Name: 3e940a6a08b0a0434650cd3d8dd286e09ad8ab805b0a4d515e57bba5d3608577
Diffstat (limited to 'src/json.c')
-rw-r--r-- | src/json.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c index f3166187b..c484f7956 100644 --- a/src/json.c +++ b/src/json.c @@ -1364,7 +1364,6 @@ static u32 jsonbValidityCheck( if( !jsonIsOk[z[j]] && z[j]!='\'' ){ if( z[j]=='"' ){ if( x==JSONB_TEXTJ ) return j+1; - j++; }else if( z[j]!='\\' || j+1>=k ){ return j+1; }else if( strchr("\"\\/bfnrt",z[j+1])!=0 ){ |