]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r363456:
authorMichael Tuexen <tuexen@FreeBSD.org>
Mon, 24 Aug 2020 09:15:52 +0000 (09:15 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Mon, 24 Aug 2020 09:15:52 +0000 (09:15 +0000)
commit253a2937235773b18ce1fe91a7239fbc9f36cd3b
treeb65b6b6289d84993281aacce65ba93d083d90d63
parent659c43d9c384856bcbf282bf44a154404120c1c4
MFC r363456:
Clear the pointer to the socket when closing it also in case of
an ungraceful operation.
This fixes a use-after-free bug found and reported by Taylor
Brandstetter of Google by testing the userland stack.
sys/netinet/sctp_pcb.c