Re: [FFmpeg-devel] [PATCH 2/4] avcodec/mv30: Check available space in decode_intra() more completly

2021-04-30 Thread Michael Niedermayer
On Thu, Apr 29, 2021 at 06:25:06PM +0200, Paul B Mahol wrote: > I suggest to write better non-hacky solutions. can you be more specific ? thx > > On Wed, Apr 28, 2021 at 4:33 PM Michael Niedermayer > wrote: > > > On Thu, Feb 11, 2021 at 10:29:15PM +0100, Paul B Mahol wrote: > > > this is hack

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/mv30: Check available space in decode_intra() more completly

2021-04-29 Thread Paul B Mahol
I suggest to write better non-hacky solutions. On Wed, Apr 28, 2021 at 4:33 PM Michael Niedermayer wrote: > On Thu, Feb 11, 2021 at 10:29:15PM +0100, Paul B Mahol wrote: > > this is hack > > what else do you suggest? > > thx > > [...] > -- > Michael GnuPG fingerprint: 9FF2128B147EF6730BADF13

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/mv30: Check available space in decode_intra() more completly

2021-04-28 Thread Michael Niedermayer
On Thu, Feb 11, 2021 at 10:29:15PM +0100, Paul B Mahol wrote: > this is hack what else do you suggest? thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Old school: Use the lowest level language in which you can solve the problem conveniently. New

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/mv30: Check available space in decode_intra() more completly

2021-02-11 Thread Paul B Mahol
this is hack ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH 2/4] avcodec/mv30: Check available space in decode_intra() more completly

2021-02-11 Thread Michael Niedermayer
Fixes: Timeout (>10sec -> instantaneous) Fixes: 30147/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MV30_fuzzer-5549246684200960 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/mv30.c | 2