qemu-e2k/include
Cédric Le Goater fc2527fb02 ppc/pnv: fix check on return value of blk_getlength()
blk_getlength() returns an int64_t but the result is stored in a
uint32_t. Errors (negative values) won't be caught by the check in
pnv_pnor_realize() and blk_blockalign() will allocate a very large
buffer in such cases.

Fixes Coverity issue CID 1412226.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Message-Id: <20200107171809.15556-3-clg@kaod.org>
Reviewed-by: Greg Kurz <groug@kaod.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2020-01-08 12:01:14 +11:00
..
authz
block block: Add bdrv_qapi_perm_to_blk_perm() 2020-01-06 13:43:06 +01:00
chardev
crypto crypto: Fix typo in QCryptoTLSSession's <example> comment 2019-12-18 08:36:15 +01:00
disas plugin: add qemu_plugin_insn_disas helper 2019-10-28 15:12:38 +00:00
exec Various testing and logging updates 2019-12-20 14:00:49 +00:00
fpu
hw ppc/pnv: fix check on return value of blk_getlength() 2020-01-08 12:01:14 +11:00
io io: Fix Error usage in a comment <example> 2019-12-18 08:36:15 +01:00
libdecnumber
migration vmstate: replace DeviceState with VMStateIf 2020-01-06 18:41:32 +04:00
monitor hmp: drop Error pointer indirection in hmp_handle_error 2019-12-18 08:36:16 +01:00
net
qapi error: make Error **errp const where it is appropriate 2019-12-18 08:36:16 +01:00
qemu Add dbus-vmstate 2020-01-06 18:22:42 +00:00
qom object: add g_autoptr support 2020-01-02 13:54:57 +04:00
scsi
standard-headers linux-headers: Update 2020-01-08 11:01:59 +11:00
sysemu numa: Extend CLI to provide memory side cache information 2020-01-05 07:03:03 -05:00
ui ui: add pixman image g_autoptr support 2020-01-02 13:54:57 +04:00
user *-user: plugin syscalls 2019-10-28 15:12:38 +00:00
elf.h
glib-compat.h
qemu-common.h exec: Split out variable page size support to exec-vary.c 2019-10-28 10:26:02 +01:00
qemu-io.h
trace-tcg.h