[FFmpeg-devel] [PATCH] dvbsubdec: Avoid potential use of uninitialized memory

Michael Niedermayer michaelni at gmx.at
Mon Sep 12 23:38:01 CEST 2011

On Mon, Sep 12, 2011 at 11:17:35PM +0200, Joakim Plate wrote:
> On Mon, 12 Sep 2011 21:32:32 +0200, Clément Bœsch wrote:
> > On Mon, Sep 12, 2011 at 09:13:47PM +0200, Joakim Plate wrote:
> >> [18 quoted lines suppressed]
> > 
> > Mmh it seems I forgot to apply that patch when I proposed it a while ago.
> > IIRC, only colormap is concerned about the uninitialized values. Also,
> > Michael pointed out the zeros might not be a good fallback values…
> Seems alpha is too, it passed into guess_palette
> What about the other idea. Move it to context instead. That way we remember
> the values for all following frames should some part not contain these
> fields.

seems like a good idea to me

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110912/752a55a9/attachment.asc>

More information about the ffmpeg-devel mailing list