tuexen ecb61b7599 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
2020-07-23 19:43:49 +00:00
..
2020-05-16 02:29:10 +00:00
2020-05-19 01:05:13 +00:00
2020-06-18 19:32:34 +00:00
2020-04-12 16:09:21 +00:00
2019-12-06 16:35:48 +00:00
2019-10-07 22:40:05 +00:00
2018-09-18 10:53:07 +00:00
2020-02-18 19:41:55 +00:00
2020-06-07 14:39:20 +00:00