qemu-e2k/hw
Paolo Bonzini 765a707000 megasas: fix guest-triggered memory leak
If the guest sets the sglist size to a value >=2GB, megasas_handle_dcmd
will return MFI_STAT_MEMORY_NOT_AVAILABLE without freeing the memory.
Avoid this by returning only the status from map_dcmd, and loading
cmd->iov_size in the caller.

Reported-by: Li Qiang <liqiang6-s@360.cn>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-01-16 17:52:34 +01:00
..
9pfs 9pfs: fix P9_NOTAG and P9_NOFID macros 2017-01-03 17:28:44 +01:00
acpi memhp: move DIMM devices into dedicated scope with related common methods 2017-01-10 07:03:24 +02:00
adc
alpha Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
arm hw/arm/virt-acpi-build: Don't incorrectly claim architectural timer to be edge-triggered 2017-01-09 11:40:23 +00:00
audio es1370: wire up reset via DeviceClass 2017-01-11 09:19:03 +01:00
block virtio: convert to use DMA api 2017-01-10 05:56:58 +02:00
bt
char virtio: convert to use DMA api 2017-01-10 05:56:58 +02:00
core loader: fix undefined behavior in rom_order_compare() 2016-11-30 04:22:18 +02:00
cpu
cris
display virtio-gpu: tag as not hotpluggable 2017-01-11 09:19:05 +01:00
dma
gpio i2c: Allow I2C devices to NAK start events 2017-01-09 11:40:20 +00:00
i2c i2c: Allow I2C devices to NAK start events 2017-01-09 11:40:20 +00:00
i386 memhp: don't generate memory hotplug AML if it's not enabled/supported 2017-01-10 07:03:24 +02:00
ide
input gtk,vnc: misc bugfixes. 2017-01-10 14:52:34 +00:00
intc hw/intc/arm_gicv3: Don't signal Pending+Active interrupts to CPU 2016-12-27 14:59:25 +00:00
ipack
ipmi
isa
lm32 loader: fix handling of custom address spaces when adding ROM blobs 2016-11-30 04:20:57 +02:00
m68k
mem
microblaze
mips
misc i2c: Allow I2C devices to NAK start events 2017-01-09 11:40:20 +00:00
moxie
net virtio-net: Add MTU feature support 2017-01-10 07:02:53 +02:00
nvram
openrisc
pci pcie_aer: support configurable AER capa version 2017-01-10 07:02:52 +02:00
pci-bridge pcie_aer: support configurable AER capa version 2017-01-10 07:02:52 +02:00
pci-host
pcmcia
ppc Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
s390x virtio: avoid using guest_notifier_mask in vhost-user mode 2016-12-16 01:14:54 +02:00
scsi megasas: fix guest-triggered memory leak 2017-01-16 17:52:34 +01:00
sd
sh4 Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
smbios
sparc
sparc64
ssi hw/ssi/imx_spi.c: Remove MSGDATA register support 2017-01-09 11:50:23 +00:00
timer bugfix: vm halt when in reset looping 2017-01-16 17:52:34 +01:00
tpm
tricore
unicore32
usb
vfio
virtio vhost-user: Add MTU protocol feature and op 2017-01-10 07:02:53 +02:00
watchdog watchdog: 6300esb: add exit function 2016-12-22 16:00:23 +01:00
xen
xenpv
xtensa
Makefile.objs