diff options
author | Francisco Iglesias | 2018-01-25 12:45:30 +0100 |
---|---|---|
committer | Peter Maydell | 2018-01-25 12:45:30 +0100 |
commit | fbe5dac7b2777626670097218ce4dfc4a19a17e9 (patch) | |
tree | 5abb2e304345d66e9bbb29442b0d4d4f922caaee /hw/display/pl110.c | |
parent | sdhci: fix a NULL pointer dereference due to uninitialized AddresSpace object (diff) | |
download | qemu-fbe5dac7b2777626670097218ce4dfc4a19a17e9.tar.gz qemu-fbe5dac7b2777626670097218ce4dfc4a19a17e9.tar.xz qemu-fbe5dac7b2777626670097218ce4dfc4a19a17e9.zip |
xilinx_spips: Correct usage of an uninitialized local variable
Coverity found that the variable tx_rx in the function
xilinx_spips_flush_txfifo was being used uninitialized (CID 1383841). This
patch corrects this by always initializing tx_rx to zeros.
Signed-off-by: Francisco Iglesias <frasse.iglesias@gmail.com>
Message-id: 20180124215708.30400-1-frasse.iglesias@gmail.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/display/pl110.c')
0 files changed, 0 insertions, 0 deletions