diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-11-13 23:54:27 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-11-14 17:36:33 +0100 |
commit | e1619211e9af886fad074a7826064d09c40a5e94 (patch) | |
tree | 1577bcecfe92e840f6152db3bc313f5d8f102cae /udp6.c | |
parent | 84692fe597767aaac192f10985834523371f35b8 (diff) | |
download | slirp-2.8.0-rc4.zip slirp-2.8.0-rc4.tar.gz slirp-2.8.0-rc4.tar.bz2 |
slirp: Fix access to freed memoryv2.8.1.1v2.8.1v2.8.0-rc4v2.8.0-rc3v2.8.0-rc2v2.8.0-rc1v2.8.0-rc0v2.8.0
if_start() goes through the slirp->if_fastq and slirp->if_batchq
list of pending messages, and accesses ifm->ifq_so->so_nqueued of its
elements if ifm->ifq_so != NULL. When freeing a socket, we thus need
to make sure that any pending message for this socket does not refer
to the socket any more.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Tested-by: Brian Candler <b.candler@pobox.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'udp6.c')
0 files changed, 0 insertions, 0 deletions