[FFmpeg-devel] [PATCH 2/2] nsvdec: Check av_malloc(string_size)

Michael Niedermayer michaelni at gmx.at
Fri Dec 30 01:44:19 CET 2011


On Thu, Dec 29, 2011 at 04:45:40PM -0500, Derek Buitenhuis wrote:
> On 29/12/2011 4:40 PM, Michael Niedermayer wrote:
> >This can easily be NULL as string_size can be 2g in a damaged file.
> >
> >Signed-off-by: Michael Niedermayer<michaelni at gmx.at>
> >---
> >  libavformat/nsvdec.c |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> Simple and straightforward fix. LGTM.

applied, thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- 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/20111230/c69756f3/attachment.asc>


More information about the ffmpeg-devel mailing list