Re: [FFmpeg-devel] [PATCH 22/30] avcodec/mobiclip: Fix heap-buffer-overflow

2020-09-15 Thread Paul B Mahol
On Tue, Sep 15, 2020 at 09:39:52AM +0200, Andreas Rheinhardt wrote: > The MobiClip decoder uses adjacent pixels for prediction; yet when > accessing the left pixel, it was forgotten to clip the x coordinate. > This results in an heap-buffer-overflow. It can e.g. be reproduced with > the sample from

[FFmpeg-devel] [PATCH 22/30] avcodec/mobiclip: Fix heap-buffer-overflow

2020-09-15 Thread Andreas Rheinhardt
The MobiClip decoder uses adjacent pixels for prediction; yet when accessing the left pixel, it was forgotten to clip the x coordinate. This results in an heap-buffer-overflow. It can e.g. be reproduced with the sample from https://samples.ffmpeg.org/V-codecs/MOHD/crap.avi when forcing the video de