[FFmpeg-devel] [PATCH/RFC] libavcodec/cinepak: Separate decoding from parsing

Tomas Härdin tjoppen at acc.umu.se
Tue Sep 3 20:29:53 EEST 2019


tis 2019-09-03 klockan 13:53 +0200 skrev Michael Niedermayer:
> On Sun, Sep 01, 2019 at 10:58:27PM +0200, Tomas Härdin wrote:
> >  libavcodec/cinepak.c        |  337 ++++++++++++++++++++++++++++---
> > -------------
> >  tests/ref/fate/cvid-palette |    1 
> >  tests/ref/fate/cvid-partial |    1 
> >  3 files changed, 215 insertions(+), 124 deletions(-)
> > 197f986bfb297c54ee0f208449d4053fcb948645  0001-libavcodec-cinepak-
> > Separate-decoding-from-parsing.patch
> > From d4bda2edbecb93fa5c5910b8b91a866210368a95 Mon Sep 17 00:00:00
> > 2001
> > From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <tjoppen at acc.umu.se>
> > Date: Sun, 1 Sep 2019 15:37:13 +0200
> > Subject: [PATCH] libavcodec/cinepak: Separate decoding from parsing
> > 
> > This is rather strict and replaces the previous hacks with checks
> > that should hopefully placate the fuzzers for the forseeable future
> > ---
> >  libavcodec/cinepak.c        | 337 +++++++++++++++++++++++---------
> > ----
> >  tests/ref/fate/cvid-palette |   1 -
> >  tests/ref/fate/cvid-partial |   1 -
> >  3 files changed, 215 insertions(+), 124 deletions(-)
> 
> this does not seem to apply automatically here

Oops, forgot to squash WIP commits into a single patch. Squashed,
rebased and tested patch attached. Moved some functions around and used
format-patch --patience to make the diff smaller. And again, it's still
preliminary as I want feedback before going any further

/Tomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavcodec-cinepak-Separate-decoding-from-parsing.patch
Type: text/x-patch
Size: 17091 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190903/96d28865/attachment.bin>


More information about the ffmpeg-devel mailing list