mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
Fix std/json replace_invalid_unicode copy/pasto
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21465
This commit is contained in:
1 parent
e2adb87cdd
commit
7edf71414f
3 files changed
+2
-2
No files matched your search
@@ -21578,7 +21578,7 @@ wuffs_json__decoder__decode_tokens(wuffs_json__decoder* self,
|
|||||||
(((uint64_t)(6356989))
|
(((uint64_t)(6356989))
|
||||||
<< WUFFS_BASE__TOKEN__VALUE_MINOR__SHIFT) |
|
<< WUFFS_BASE__TOKEN__VALUE_MINOR__SHIFT) |
|
||||||
(((uint64_t)(3)) << WUFFS_BASE__TOKEN__LINK__SHIFT) |
|
(((uint64_t)(3)) << WUFFS_BASE__TOKEN__LINK__SHIFT) |
|
||||||
(((uint64_t)(6)) << WUFFS_BASE__TOKEN__LENGTH__SHIFT));
|
(((uint64_t)(10)) << WUFFS_BASE__TOKEN__LENGTH__SHIFT));
|
||||||
goto label__string_loop_outer__continue;
|
goto label__string_loop_outer__continue;
|
||||||
}
|
}
|
||||||
} else if ((v_c == 120) &&
|
} else if ((v_c == 120) &&
|
||||||
|
|||||||
@@ -560,7 +560,7 @@ pub func decoder.decode_tokens?(dst: base.token_writer, src: base.io_reader, wor
|
|||||||
value_major: 0,
|
value_major: 0,
|
||||||
value_minor: 0x60_FFFD,
|
value_minor: 0x60_FFFD,
|
||||||
link: 0x3,
|
link: 0x3,
|
||||||
length: 6)
|
length: 10)
|
||||||
continue.string_loop_outer
|
continue.string_loop_outer
|
||||||
}
|
}
|
||||||
// -------- END backslash-capital-u.
|
// -------- END backslash-capital-u.
|
||||||
|
|||||||
Binary file not shown.
Reference in new issue
Block a user