aboutsummaryrefslogtreecommitdiff
path: root/hw/net/xilinx_ethlite.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2020-03-17 10:23:54 +0100
committerJohn Snow <jsnow@redhat.com>2020-03-17 10:23:14 -0400
commit6e9d611a1b4f858962cccfe16625bd82aa894e25 (patch)
treef9dba65a071028a1fd82e49f30bb8d3ee149ee74 /hw/net/xilinx_ethlite.c
parent1a519323d3e8425f0cf58fc85a346237edf8aeac (diff)
downloadqemu-6e9d611a1b4f858962cccfe16625bd82aa894e25.zip
qemu-6e9d611a1b4f858962cccfe16625bd82aa894e25.tar.gz
qemu-6e9d611a1b4f858962cccfe16625bd82aa894e25.tar.bz2
hd-geo-test: Clean up use of buf[] in create_qcow2_with_mbr()
valgrind reports write unitialized bytes from buf[]. Clear them. ASan reports we store to misaligned address in buf[]. Use stl_le_p() for that. Cc: Sam Eiderman <shmuel.eiderman@oracle.com> Cc: John Snow <jsnow@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20200317092354.31831-1-armbru@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/net/xilinx_ethlite.c')
0 files changed, 0 insertions, 0 deletions