[FFmpeg-devel] [PATCH 3/6] eval: replace variable-length array with av_malloc/free

Måns Rullgård mans
Thu Aug 20 00:07:01 CEST 2009


Michael Niedermayer <michaelni at gmx.at> writes:

> On Wed, Aug 19, 2009 at 02:22:59AM +0100, Mans Rullgard wrote:
>> There is a theoretical possibility to pass a very long string to ff_parse,
>> which could crash if allocated from the stack.  This allows the allocation
>> to be checked properly.
>> ---
>>  libavcodec/eval.c |   12 +++++++++---
>>  1 files changed, 9 insertions(+), 3 deletions(-)
>
> ok

Applied.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list