Y
Hacker News
new
|
ask
|
show
|
jobs
by
ks2048
38 days ago
Can someone point the heart of this fix? I see a bunch of change of naming of constants, etc
3 comments
red75prime
38 days ago
As far as I understand it's line 1978: `goto saveStateAndReturn;`. Early return that prevents further processing.
link
therein
38 days ago
Had a short moment to glance at it. My guess would be BROTLI_DCHECK(s>meta_block_remaining_len <= (int)BROTLI_BLOCK_SIZE_CAP) along with BROTLI_SAFE_WITH_STATUS having that goto saveStateAndReturn on non BROTLI_DECODER_SUCCESS.
link
cowlevel
38 days ago
Doesn't mix up error-need-more-data with error-invalid-data
link