diff options
author | Måns Rullgård <mans@mansr.com> | 2009-08-19 21:59:40 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-08-19 21:59:40 +0000 |
commit | 0314dead4e7c058568e792842405190c06d71da5 (patch) | |
tree | f964e5d6e5d7a1e7237b8c736aba30e39bf98ca8 /libavdevice/avdevice.h | |
parent | 8313e17976053fee193f79f3278ba656022d4233 (diff) | |
download | ffmpeg-0314dead4e7c058568e792842405190c06d71da5.tar.gz |
eval: replace variable-length array with av_malloc/free
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
Diffstat (limited to 'libavdevice/avdevice.h')
0 files changed, 0 insertions, 0 deletions