HomeFreeBSD

Clear the pointer to the socket when closing it also in case of

Description

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.

MFC after: 1 week

Details

Provenance
tuexenAuthored on
Parents
rS363455: modules/crypto: disable optimized assembly skein1024 implementation
Branches
Unknown
Tags
Unknown