Re: [FFmpeg-devel] [PATCH] lavc/cbs_h2645: Fix incorrect max size of nalu unit

2019-12-06 Thread Andriy Gelman
On Fri, 06. Dec 17:47, Andreas Rheinhardt wrote: > Andriy Gelman: > > From: Andriy Gelman > > > > In the worst case the startcode prefix has 4 bytes. > > > > This fixes a trigerred assertion: > > Assertion dp <= max_size failed at libavcodec/cbs_h2645.c:1451 > > > > Found-by:libFuzzer > > Signe

Re: [FFmpeg-devel] [PATCH] lavc/cbs_h2645: Fix incorrect max size of nalu unit

2019-12-06 Thread James Almer
On 12/6/2019 2:47 PM, Andreas Rheinhardt wrote: > Andriy Gelman: >> From: Andriy Gelman >> >> In the worst case the startcode prefix has 4 bytes. >> >> This fixes a trigerred assertion: >> Assertion dp <= max_size failed at libavcodec/cbs_h2645.c:1451 >> >> Found-by:libFuzzer >> Signed-off-by: And

Re: [FFmpeg-devel] [PATCH] lavc/cbs_h2645: Fix incorrect max size of nalu unit

2019-12-06 Thread Andreas Rheinhardt
Andriy Gelman: > From: Andriy Gelman > > In the worst case the startcode prefix has 4 bytes. > > This fixes a trigerred assertion: > Assertion dp <= max_size failed at libavcodec/cbs_h2645.c:1451 > > Found-by:libFuzzer > Signed-off-by: Andriy Gelman > --- > libavcodec/cbs_h2645.c | 2 +- > 1

[FFmpeg-devel] [PATCH] lavc/cbs_h2645: Fix incorrect max size of nalu unit

2019-12-06 Thread Andriy Gelman
From: Andriy Gelman In the worst case the startcode prefix has 4 bytes. This fixes a trigerred assertion: Assertion dp <= max_size failed at libavcodec/cbs_h2645.c:1451 Found-by:libFuzzer Signed-off-by: Andriy Gelman --- libavcodec/cbs_h2645.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio