eval: replace variable-length array with av_malloc/free
authorMåns Rullgård <mans@mansr.com>
Wed, 19 Aug 2009 21:59:40 +0000 (21:59 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 19 Aug 2009 21:59:40 +0000 (21:59 +0000)
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.

Originally committed as revision 19670 to svn://svn.ffmpeg.org/ffmpeg/trunk


No differences found