diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-24 18:57:31 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-09-25 12:55:21 +0300 |
commit | a246cefa75aed2ade315d6d09068aacb6b0fe76b (patch) | |
tree | 579b25eeb857a30869b7fac7543071984c713c06 /libavcodec/mpegvideo_parser.c | |
parent | 9b921a8272cfcf5168a03042a6d84091cd33ee7b (diff) | |
download | ffmpeg-a246cefa75aed2ade315d6d09068aacb6b0fe76b.tar.gz |
flvdec: Check for overflow before allocating arrays
On allocation, the array length is multiplied by sizeof(int64_t),
this prevents the multiplication from overflowing.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/mpegvideo_parser.c')
0 files changed, 0 insertions, 0 deletions