diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-06-29 18:58:33 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2009-07-01 09:24:38 +0100 |
commit | 405aae4568bbc8e3fa1c6975dc97425418dfe71a (patch) | |
tree | aadd5c978e980efefc53b960d38035ecbb8b5de8 /configure.ac | |
parent | c730912f67a04e67c71c3d25dfa0852ab671a2d7 (diff) |
qtdemux: guard against bogus atom sizes and short reads
Check the possibly 64-bit atom size more carefully before casting it
to an int and passing it to gst_pad_pull_range(), otherwise we might
end up pulling 0 bytes, getting an empty buffer as requested and
dereferencing not available data whilst thinking we actually asked
for and got 0x1000000000000 bytes. Similar fix for push mode operation
where neededbytes ends up being 0 bytes, which makes us assert. Fixes
crash with broken or fuzzed file (NB #122378).
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions