qemu-patch-raspberry4/slirp
Juha Riihimäki ab07b980c4 slirp: fix structure initialization in tcp_listen()
A data structure of type sockaddr_in is allocated from stack but not
properly initialized. This may lead to a failure in the bind() call
later on. Fixed by filling the contents of the structure with zeroes
before using it.

Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2010-04-20 16:42:38 +00:00
..
bootp.c slirp: remove dead increments, spotted by clang 2010-03-07 13:45:37 +00:00
bootp.h
cksum.c slirp: fix unused return value, spotted by clang 2010-04-18 14:27:46 +00:00
COPYRIGHT
debug.h
if.c
if.h
ip.h fix networking on win32 host 2009-12-18 23:23:56 +01:00
ip_icmp.c
ip_icmp.h
ip_input.c
ip_output.c
libslirp.h
main.h
mbuf.c
mbuf.h
misc.c monitor: Separate "default monitor" and "current monitor" cleanly 2010-03-16 16:55:05 +01:00
misc.h
sbuf.c
sbuf.h
slirp.c slirp: remove dead nested assignment, spotted by clang 2010-03-07 13:45:38 +00:00
slirp.h
slirp_config.h
socket.c slirp: fix structure initialization in tcp_listen() 2010-04-20 16:42:38 +00:00
socket.h
tcp.h
tcp_input.c slirp: remove dead assignments, spotted by clang 2010-03-07 13:13:05 +00:00
tcp_output.c
tcp_subr.c slirp: remove dead increments, spotted by clang 2010-03-07 13:45:37 +00:00
tcp_timer.c
tcp_timer.h
tcp_var.h
tcpip.h
tftp.c slirp: remove dead assignments, spotted by clang 2010-03-07 13:13:05 +00:00
tftp.h
udp.c
udp.h