mirror of
https://github.com/google/brotli.git
synced 2024-11-09 21:50:07 +00:00
Added note about invalid block type value
This commit is contained in:
parent
10522411f1
commit
e544a185f9
@ -1008,9 +1008,10 @@ lengths and distances, respectively, is encoded in the meta-block
|
|||||||
header, and it must equal to the largest block type plus one in that
|
header, and it must equal to the largest block type plus one in that
|
||||||
block category. In other words, the set of literal, insert-and-copy
|
block category. In other words, the set of literal, insert-and-copy
|
||||||
length and distance block types must be [0..NBLTYPESL-1],
|
length and distance block types must be [0..NBLTYPESL-1],
|
||||||
[0..NBLTYPESI-1], and [0..NBLTYPESD-1], respectively. From this it
|
[0..NBLTYPESI-1], and [0..NBLTYPESD-1], respectively. If a block type
|
||||||
follows that the alphabet size of literal, insert-and-copy length and
|
has a value outside its respective range, the stream should be rejected as
|
||||||
distance block type codes is NBLTYPES + 2, NBLTYPESI + 2 and
|
invalid. From this it follows that the alphabet size of literal, insert-and-copy
|
||||||
|
length and distance block type codes is NBLTYPES + 2, NBLTYPESI + 2 and
|
||||||
NBLTYPESD + 2, respectively.
|
NBLTYPESD + 2, respectively.
|
||||||
|
|
||||||
Each block count in the compressed data is represented with a pair
|
Each block count in the compressed data is represented with a pair
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user