diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2021-08-13 16:05:04 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2021-08-26 17:02:00 +0100 |
commit | fdcdf54d1e93792c66e7566cec4638786990174e (patch) | |
tree | f896f663834b22a5a21b7db532070aeffb6cbb5e /tests/qtest/test-arm-mptimer.c | |
parent | 59292384621e93f707f862b6936694e56a6daed0 (diff) | |
download | qemu-fdcdf54d1e93792c66e7566cec4638786990174e.zip qemu-fdcdf54d1e93792c66e7566cec4638786990174e.tar.gz qemu-fdcdf54d1e93792c66e7566cec4638786990174e.tar.bz2 |
gdbstub: 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-3-peter.maydell@linaro.org
Diffstat (limited to 'tests/qtest/test-arm-mptimer.c')
0 files changed, 0 insertions, 0 deletions