nsvdec: Check av_malloc(string_size)
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 29 Dec 2011 20:31:22 +0000 (21:31 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 30 Dec 2011 00:44:47 +0000 (01:44 +0100)
commitb9e0e9537a3ec4af1630e9f1b8d0ce68885cac16
tree55f98446ef13e9841bbe9631524bc8f47c558994
parent3a15051aba3c071ac1bff5ea91151a909dfa9257
nsvdec: Check av_malloc(string_size)

This can easily be NULL as string_size can be 2g in a damaged file.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/nsvdec.c