summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2008-12-31 19:22:16 +0100
committerMatthias Hopf <mhopf@suse.de>2008-12-31 19:22:16 +0100
commit0d4380861db644bcd758d596c638886b1578f601 (patch)
tree4b0eea93a4d9cbddb11b6ee6283b4c837db1d7f0 /lib
parent4f32e89e05204737b233617fd065a1da519bfbf8 (diff)
downloadxine-lib-0d4380861db644bcd758d596c638886b1578f601.tar.gz
xine-lib-0d4380861db644bcd758d596c638886b1578f601.tar.bz2
handle read errors when forwarding in multiple demuxers
Add checks for negative return values in aac,ac3,dts,mpc, nsf,ogg,shn,slave,ts,tta,vox demuxers. Some input plugins (e.g. file) return negative error codes from read, this should be treated as no (more) data available. This is particularly the negative size is then assigned to buf->size, potentially causing overflows elsewhere. The patch also removes the duplication of the (previously) == 0 handler in demux_ac3.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions