diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-11-09 08:48:44 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2014-11-11 11:49:54 +0100 |
commit | 2383323661f3b8342b2c4d356fcfe8c5d1b045f8 (patch) | |
tree | 62b793c7b2cc36a88992ef596a97231f81d42655 /libavcodec/dnxhddata.c | |
parent | 1bdd21d97528d870fbb4388e837abaf390f2f7d7 (diff) | |
download | ffmpeg-2383323661f3b8342b2c4d356fcfe8c5d1b045f8.tar.gz |
dvbsubdec: improve error checking
Use av_mallocz_array instead of iterating and check the returned memory.
Check returned memory and cleanly exit in case of error during the loop.
Avoid a null pointer dereference for invalid data.
CC: libav-stable@libav.org
Bug-Id: CID 29575
Diffstat (limited to 'libavcodec/dnxhddata.c')
0 files changed, 0 insertions, 0 deletions