qemu-e2k/hw
Mark Cave-Ayland 97225170f6 macio: fix overflow in lba to offset conversion for ATAPI devices
As the IDEState lba field is an int32_t, make sure we cast to int64_t before
shifting to calculate the offset. Otherwise we end up with an overflow when
trying to access sectors beyond 2GB as can occur when using DVD images.

[Maintainer edit: fixed extraneous parentheses. --js]

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 1451928613-29476-1-git-send-email-mark.cave-ayland@ilande.co.uk
Signed-off-by: John Snow <jsnow@redhat.com>
2016-01-11 14:10:42 -05:00
..
9pfs virtio-9p: use accessor to get thread_pool 2015-12-23 10:56:58 +01:00
acpi trivial patches for 2016-01-11 2016-01-11 12:56:58 +00:00
alpha alpha: convert "naked" qemu_log to tracepoint 2015-12-17 17:33:47 +01:00
arm hw/arm/virt: Support legacy -nic command line syntax 2016-01-11 16:04:50 +00:00
audio
block block: Rename BLOCK_OP_TYPE_MIRROR to BLOCK_OP_TYPE_MIRROR_SOURCE 2016-01-07 21:30:17 +01:00
bt
char cris: avoid "naked" qemu_log 2015-12-17 17:33:47 +01:00
core hw/core/qdev: Remove superfluous return statement 2016-01-11 11:39:28 +03:00
cpu
cris
display ui/curses: Fix color attribute of monitor for curses 2016-01-08 12:20:07 +01:00
dma hw/dma/xilinx_axidma: remove dead code 2016-01-11 15:52:18 +00:00
gpio
i2c
i386 i386/pc: expose identifying the floppy controller 2016-01-09 23:20:20 +02:00
ide macio: fix overflow in lba to offset conversion for ATAPI devices 2016-01-11 14:10:42 -05:00
input
intc kvm: x86: add support for KVM_CAP_SPLIT_IRQCHIP 2015-12-17 17:33:47 +01:00
ipack
ipmi ipmi: Add a force off function 2015-12-22 18:39:19 +02:00
isa
lm32
m68k
mem nvdimm: implement NVDIMM device abstract 2015-12-22 18:39:20 +02:00
microblaze petalogix-ml605: Set the MicroBlaze CPU version to 8.10.a 2016-01-07 14:57:26 +01:00
mips gt64120: convert to realize() 2016-01-11 11:39:28 +03:00
misc i.MX: move i.MX31 CCM object to register array 2016-01-11 15:52:18 +00:00
moxie
net ether/slirp: Avoid redefinition of the same constants 2016-01-11 11:01:35 +08:00
nvram
openrisc
pci
pci-bridge hw/pxb: introduce pxb-pcie expander for PCIe machines 2015-12-22 17:45:13 +02:00
pci-host trivial patches for 2016-01-11 2016-01-11 12:56:58 +00:00
pcmcia
ppc hw/ppc/spapr: fix spapr->kvm_type leak 2016-01-11 15:29:05 +11:00
s390x hw/s390x: Remove superfluous return statements 2016-01-11 11:39:28 +03:00
scsi scsi: always call notifier on async cancellation 2015-12-17 17:33:49 +01:00
sd sdhci: add optional quirk property to disable card insertion/removal interrupts 2015-12-22 16:34:26 +08:00
sh4 SH PCI Host: convert to realize() 2016-01-11 11:39:28 +03:00
smbios
sparc
sparc64 sun4u: split NPT and INT_DIS accesses between timer and compare registers 2016-01-07 12:21:02 +00:00
ssi
timer pc: acpi: move HPET from DSDT to SSDT 2016-01-09 23:20:18 +02:00
tpm
tricore
unicore32
usb ohci: clear pending SOF on suspend 2016-01-08 09:29:24 +01:00
vfio
virtio virtio: fix error message for number of queues 2016-01-09 23:20:20 +02:00
watchdog
xen xen/Makefile.objs: simplify 2016-01-11 11:39:28 +03:00
xenpv
xtensa
Makefile.objs Add a base IPMI interface 2015-12-22 18:39:19 +02:00