On 09/11/14 08:48, Vittorio Giovara wrote:
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: [email protected]
Bug-Id: CID 29575
---
libavcodec/dvbsubdec.c | 20 +++++++++++++++-----
1 file changed, 15 insertions(+), 5 deletions(-)
Seems fine.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel