mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-19 16:47:28 +01:00
Fix std/cbor meta.ri decoding F8XX for small XX
Updates https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24819
This commit is contained in:
1 parent
2de1dfec97
commit
16fadb25cf
2 files changed
+9
No files matched your search
@@ -17239,6 +17239,11 @@ wuffs_cbor__decoder__decode_tokens(
|
||||
goto label__goto_parsed_a_leaf_value__break;
|
||||
} else if (v_c_minor == 24) {
|
||||
if (v_string_length < 24) {
|
||||
if ( ! (iop_a_src > io1_a_src)) {
|
||||
status = wuffs_base__make_status(wuffs_cbor__error__internal_error_inconsistent_i_o);
|
||||
goto exit;
|
||||
}
|
||||
(iop_a_src--, wuffs_base__make_empty_struct());
|
||||
goto label__goto_fail__break;
|
||||
}
|
||||
*iop_a_dst++ = wuffs_base__make_token(
|
||||
|
||||
Reference in new issue
Block a user