diff options
author | Michael Niedermayer <[email protected]> | 2011-09-24 18:57:31 +0300 |
---|---|---|
committer | Reinhard Tartler <[email protected]> | 2011-09-26 19:31:32 +0200 |
commit | fed7f5b04f0ddde81fe1de1af725a63461a31f6f (patch) | |
tree | b6f52cfc525824b0b326b1dc01c4466d70518ec1 /libavutil/avassert.h | |
parent | dde0fb4aeaf855fc38fb002c23dbbeba06407a09 (diff) |
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ö <[email protected]>
(cherry picked from commit a246cefa75aed2ade315d6d09068aacb6b0fe76b)
Signed-off-by: Reinhard Tartler <[email protected]>
Diffstat (limited to 'libavutil/avassert.h')
0 files changed, 0 insertions, 0 deletions