diff options
| author | Peter Maydell | 2019-04-29 18:35:57 +0200 |
|---|---|---|
| committer | Peter Maydell | 2019-04-29 18:35:57 +0200 |
| commit | aa64cfaeb4ad0e67ccb54fa20511d7a36db9d833 (patch) | |
| tree | 27e45692364d6a7b2507353b453933637ff23ec4 /blockdev-nbd.c | |
| parent | hw/arm/smmuv3: Remove SMMUNotifierNode (diff) | |
| download | qemu-aa64cfaeb4ad0e67ccb54fa20511d7a36db9d833.tar.gz qemu-aa64cfaeb4ad0e67ccb54fa20511d7a36db9d833.tar.xz qemu-aa64cfaeb4ad0e67ccb54fa20511d7a36db9d833.zip | |
hw/ssi/xilinx_spips: Avoid variable length array
In the stripe8() function we use a variable length array; however
we know that the maximum length required is MAX_NUM_BUSSES. Use
a fixed-length array and an assert instead.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-id: 20190328152635.2794-1-peter.maydell@linaro.org
Diffstat (limited to 'blockdev-nbd.c')
0 files changed, 0 insertions, 0 deletions
