[FFmpeg-devel] [PATCH 3/6] eval: replace variable-length array with av_malloc/free
Michael Niedermayer
michaelni
Wed Aug 19 12:03:46 CEST 2009
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
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is not what we do, but why we do it that matters.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090819/4780d668/attachment.pgp>
More information about the ffmpeg-devel
mailing list