Re: [FFmpeg-devel] [PATCH 2/2] avcodec/hcadec: Check or bound indexes

2020-06-08 Thread Michael Niedermayer
On Thu, May 14, 2020 at 09:05:23PM +0200, Michael Niedermayer wrote: > On Wed, May 13, 2020 at 10:42:15PM +0200, Michael Niedermayer wrote: > > This causes indexes into scale_conversion_table to wrap around, > > alternatively they > > could be clipped, the table be enlarged or we can error out. I

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/hcadec: Check or bound indexes

2020-05-14 Thread Michael Niedermayer
On Wed, May 13, 2020 at 10:42:15PM +0200, Michael Niedermayer wrote: > This causes indexes into scale_conversion_table to wrap around, alternatively > they > could be clipped, the table be enlarged or we can error out. I have not found > a document that specifies > what is the correct way to hand

[FFmpeg-devel] [PATCH 2/2] avcodec/hcadec: Check or bound indexes

2020-05-13 Thread Michael Niedermayer
This causes indexes into scale_conversion_table to wrap around, alternatively they could be clipped, the table be enlarged or we can error out. I have not found a document that specifies what is the correct way to handle this Fixes: out of array access Fixes: 21727/clusterfuzz-testcase-minimize