2012/1/27 Måns Rullgård <[email protected]>:
> Diego Biurrun <[email protected]> writes:
>
>> On Thu, Jan 26, 2012 at 05:27:13PM -0800, Alex Converse wrote:
>>> From: Michael Niedermayer <[email protected]>
>>>
>>> This can easily be NULL as string_size can be 2g in a damaged file.
>>
>> 2GB I assume - please amend the log message.
>
> The size is entirely irrelevant.  You may be flat out of memory, so even
> a 1-byte allocation will fail.
>

I screwed up the message id on my reply. Please see "[PATCH] nsvdec:
Be more careful with av_malloc()."
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to