qemu-e2k/hw
Eric Auger 118eee6cee hw/arm/smmu-common: Fix coverity issue in get_block_pte_address
Coverity points out that this can overflow if n > 31,
because it's only doing 32-bit arithmetic. Let's use 1ULL instead
of 1. Also the formulae used to compute n can be replaced by
the level_shift() macro.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 1526493784-25328-3-git-send-email-eric.auger@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2018-05-18 17:48:07 +01:00
..
9pfs 9p: add trace event for v9fs_setattr() 2018-05-02 08:59:24 +02:00
acpi
adc
alpha
arm hw/arm/smmu-common: Fix coverity issue in get_block_pte_address 2018-05-18 17:48:07 +01:00
audio
block hw/block/pflash_cfi: fix off-by-one error 2018-04-10 16:33:08 +02:00
bt
char hw/char/cmsdk-apb-uart.c: Accept more input after character read 2018-05-04 18:05:50 +01:00
core -----BEGIN PGP SIGNATURE----- 2018-05-14 14:15:27 +01:00
cpu
cris Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
display ui: add x_keymap.o to modules 2018-05-18 09:13:37 +02:00
dma xlnx-zdma: Add a model of the Xilinx ZynqMP generic DMA 2018-05-18 17:48:07 +01:00
gpio
hppa Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
i2c
i386 pc: add 2.13 machine types 2018-05-15 11:33:33 -03:00
ide macio: fix NULL pointer dereference when issuing IDE trim 2018-03-27 00:38:00 -04:00
input ps2: Fix mouse stream corruption due to lost data 2018-05-15 11:31:33 +02:00
intc heathrow: remove obsolete heathow_init() function 2018-04-27 18:05:22 +10:00
ipack
ipmi
isa Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
lm32 Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
m68k hw/m68k/mcf5208: Fix trivial typo in board description 2018-05-01 15:37:54 +02:00
mem pc-dimm: fix error messages if no slots were defined 2018-05-11 14:33:40 +02:00
microblaze Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
mips serial-isa: Use MAX_ISA_SERIAL_PORTS instead of MAX_SERIAL_PORTS 2018-04-26 13:57:00 +01:00
misc mac_newworld: move wiring of macio IRQs to macio_newworld_realize() 2018-05-04 15:00:37 +10:00
moxie Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
net hw/net/smc91c111: Convert away from old_mmio 2018-05-04 18:05:50 +01:00
nios2 Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
nvram
openrisc Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
pci
pci-bridge
pci-host uninorth: create new uninorth device 2018-05-04 15:00:37 +10:00
pcmcia
ppc make sure that we aren't overwriting mc->get_hotplug_handler by accident 2018-05-10 18:10:56 +01:00
rdma hw/rdma: Fix possible out of bounds access to port GID index 2018-05-03 20:52:29 +03:00
riscv RISC-V: QEMU 2.13 Minor Fixes 2018-05-10 10:25:15 +01:00
s390x s390x: refactor reset/reipl handling 2018-05-14 17:10:02 +02:00
scsi hw/scsi: support SCSI-2 passthrough without PI 2018-04-09 16:36:39 +02:00
sd sdcard: Correct CRC16 offset in sd_function_switch() 2018-05-15 14:58:44 +01:00
sh4 Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
smbios
sparc Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
sparc64 serial-isa: Use MAX_ISA_SERIAL_PORTS instead of MAX_SERIAL_PORTS 2018-04-26 13:57:00 +01:00
ssi xilinx_spips: Correct SNOOP_NONE state when flushing the txfifo 2018-04-26 11:04:40 +01:00
timer timer/aspeed: fix vmstate version id 2018-04-26 11:04:39 +01:00
tpm tpm: CRB: Enforce locality is requested before processing buffer 2018-03-29 17:41:02 -04:00
tricore
unicore32
usb hw/usb/dev-smartcard-reader: Handle 64 B USB packets 2018-05-18 09:42:16 +02:00
vfio vfio-ccw: introduce vfio_ccw_get_device() 2018-04-30 10:31:41 +02:00
virtio vhost: do not verify ring mappings when IOMMU is enabled 2018-04-16 19:11:38 +03:00
watchdog
xen xen: Expect xenstore write to fail when restricted 2018-04-26 16:29:51 +01:00
xenpv
xtensa Change references to serial_hds[] to serial_hd() 2018-04-26 13:57:00 +01:00
Makefile.objs