Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Blue Swirl <[email protected]>
- Loading branch information