memcpy
is invoked with a gigantic num value which is likely to cause a crash.BrotliEncoderSetCustomDictionary
and BrotliDecoderSetCustomDictionary
.BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION
to avoid ringbuffer reallocation.BROTLI_PARAM_NPOSTFIX
and BROTLI_PARAM_NDIRECT
encoder parameters.BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET
.kBrotliMinWindowBits
and kBrotliMaxWindowBits
.BrotliEncoderInputBlockSize()
, BrotliEncoderCopyInputToRingBuffer()
, and BrotliEncoderWriteData()
.BROTLI_PARAM_SIZE_HINT
encoder option.