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:
Nigel Tao committed 2020-03-31 22:37:43 +11:00
1 parent e2adb87cdd
commit 7edf71414f
3 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -21578,7 +21578,7 @@ wuffs_json__decoder__decode_tokens(wuffs_json__decoder* self,
(((uint64_t)(6356989))
<< WUFFS_BASE__TOKEN__VALUE_MINOR__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;
}
} else if ((v_c == 120) &&
+1 -1
View File
@@ -560,7 +560,7 @@ pub func decoder.decode_tokens?(dst: base.token_writer, src: base.io_reader, wor
value_major: 0,
value_minor: 0x60_FFFD,
link: 0x3,
length: 6)
length: 10)
continue.string_loop_outer
}
// -------- END backslash-capital-u.
Binary file not shown.