summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-06-29 18:58:33 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-07-01 09:24:38 +0100
commit405aae4568bbc8e3fa1c6975dc97425418dfe71a (patch)
treeaadd5c978e980efefc53b960d38035ecbb8b5de8 /configure.ac
parentc730912f67a04e67c71c3d25dfa0852ab671a2d7 (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