Re: [FFmpeg-devel] [PATCH 5/8] avcodec/smacker: Improve header table error checks

2020-08-19 Thread Paul B Mahol
On 7/31/20, Andreas Rheinhardt wrote: > The extradata for Smacker video contains Huffman trees as well as a > field containing the size (in bytes) of said Huffman tree when stored > as a table. Due to three special values the decoder allocates more than > the size field indicates; yet when it pars

[FFmpeg-devel] [PATCH 5/8] avcodec/smacker: Improve header table error checks

2020-07-31 Thread Andreas Rheinhardt
The extradata for Smacker video contains Huffman trees as well as a field containing the size (in bytes) of said Huffman tree when stored as a table. Due to three special values the decoder allocates more than the size field indicates; yet when it parses the table it only errors out if the number o