[FFmpeg-devel] [PATCH 2/2] nsvdec: Check av_malloc(string_size)
Derek Buitenhuis
derek.buitenhuis at gmail.com
Thu Dec 29 22:45:40 CET 2011
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.
I suppose you don't need to send reviews for these sort of
really basic things, per se...
- Derek
More information about the ffmpeg-devel
mailing list