mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-11 01:42:22 +03:00
Fix an off-by-one error in the changes from the previous check-in on
the jsonb branch. FossilOrigin-Name: 216191b113da43516d31301fb133173add66358d503677ab997bc82cc88bfea4
This commit is contained in:
@@ -3354,7 +3354,7 @@ static u32 jsonXlateBlobToText(
|
||||
if( k>0 ){
|
||||
jsonAppendRawNZ(pOut, zIn, k);
|
||||
if( sz2<=k ){
|
||||
pOut->eErr |= JSTRING_MALFORMED;
|
||||
if( sz2<k ) pOut->eErr |= JSTRING_MALFORMED;
|
||||
break;
|
||||
}
|
||||
zIn += k;
|
||||
|
||||
Reference in New Issue
Block a user