mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-06 05:55:06 +00:00
[buffer] Fix out-buffer under memory-alloc failure
This was broken in July refactoring of the buffer, and exposed to
ReverseChainSingleSubstFormat1 in 3807061d63
Fixes:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38800
https://bugs.chromium.org/p/chromium/issues/detail?id=1303552
This commit is contained in:
parent
116cc69236
commit
03085132ba
2 changed files with 1 additions and 0 deletions
|
@ -404,6 +404,7 @@ hb_buffer_t::sync ()
|
|||
|
||||
reset:
|
||||
have_output = false;
|
||||
out_info = info;
|
||||
out_len = 0;
|
||||
idx = 0;
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Add table
Reference in a new issue