summaryrefslogtreecommitdiffstats
path: root/libavformat/segment.c
diff options
context:
space:
mode:
authorMartin Storsjö <[email protected]>2013-09-11 22:56:55 +0300
committerLuca Barbato <[email protected]>2013-10-03 23:31:34 +0200
commit153deed18bed43d16b272e8681b2a9b988d2682a (patch)
treee80dad3f4d75942bde19d7244369b3cba1ed54ac /libavformat/segment.c
parent9eba02d5dd7036294ea350cb772822deec95b867 (diff)
sierravmd: Do sanity checking of frame sizes
Limit the size to INT_MAX/2 (for simplicity) to be sure that size + BYTES_PER_FRAME_RECORD won't overflow. Also factorize other existing error return paths. Reported-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind CC: [email protected] Signed-off-by: Martin Storsjö <[email protected]> (cherry picked from commit 0ef1660a6365ce60ead8858936b6f3f8ea862826) Signed-off-by: Luca Barbato <[email protected]>
Diffstat (limited to 'libavformat/segment.c')
0 files changed, 0 insertions, 0 deletions