diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-08-13 16:05:06 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-08-26 17:02:00 +0100 |
commit | baa873f7508df9f622c9d1ed43d3a03c9cce785c (patch) | |
tree | a55b948ae881c3145ee3e0883c691c13009da94d /hw/misc | |
parent | a8ca0033c25939d609c1bab12f6b8402ff719552 (diff) | |
download | qemu-baa873f7508df9f622c9d1ed43d3a03c9cce785c.zip qemu-baa873f7508df9f622c9d1ed43d3a03c9cce785c.tar.gz qemu-baa873f7508df9f622c9d1ed43d3a03c9cce785c.tar.bz2 |
tests/tcg/multiarch/linux-test: Zero-initialize sockaddr structs
Zero-initialize sockaddr_in and sockaddr_un structs that we're about
to fill in and pass to bind() or connect(), to ensure we don't leave
possible implementation-defined extension fields as uninitialized
garbage.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20210813150506.7768-5-peter.maydell@linaro.org
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions