mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Coverity Scan errors BAD_SHIFT and FORWARD_NULL in c/dec/decode.c #360
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @erAck on GitHub (Nov 23, 2020).
A Coverity Scan of 1.0.8 decoder sources resulted in the following errors:
It is advisable to investigate and fix those.
Thanks.
@eustas commented on GitHub (Jan 18, 2021):
It is obvious that
4 <= s->distance_code < 10activatesbase = s->distance_code - 4branch.BROTLI_STATE_BEFORE_COMPRESSED_METABLOCK_BODYphase is always preceded byBROTLI_STATE_METABLOCK_HEADER_2.We, do regular Coverity Scan checks... and it produces a lot of false positives...