[FFmpeg-devel] [PATCH] check for null pointer in nuv decoder (issue 2524)
Mon Jan 10 04:32:02 CET 2011
In decode_init in the nuv decoder, c->decomp_buf is set to NULL. In most
cases, this is okay, as the buffer is reallocated. However, for invalid
nuv files, ffmpeg does not reallocate the buffer. In this case, ffmpeg
will crash when trying to access the null pointer. The patch attached
adds a check for this.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1025 bytes
Desc: not available
More information about the ffmpeg-devel