diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-07-30 11:45:15 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-07-31 19:40:08 +0200 |
commit | b39f872a41b92a31589052c8f914c5b52f206fd0 (patch) | |
tree | a8d4ccbeba53a78f6a6a49dd7355e71e9e359e38 /libavformat/avio_internal.h | |
parent | 8400607267458371398b0d3f170b6c0d9c688453 (diff) | |
download | ffmpeg-b39f872a41b92a31589052c8f914c5b52f206fd0.tar.gz |
Limit fsize before adding to pointer.
This avoids a theoretically possible pointer arithmetic overflow
which would lead to a crash due to reading from NULL page.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'libavformat/avio_internal.h')
0 files changed, 0 insertions, 0 deletions