araujo 67d8903aad Check if pthread_create(3) successfully created the thread prior to call
pthread_join(3). The variable tid is not yet initialized in case
the authentication fails at early stage, that would lead pthread_join be
called with an uninitialized variable.

CID:		1375950
Reported by:	Coverity, cem
Reviewed by:	cem
MFC after:	3 weeks.
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D11150
2017-06-16 01:26:01 +00:00
..
2017-06-02 02:37:17 +00:00
2017-02-14 13:35:59 +00:00
2017-02-14 13:35:59 +00:00
2017-02-14 16:49:32 +00:00
2017-02-14 13:35:59 +00:00
2016-05-27 06:22:24 +00:00
2016-05-27 06:22:24 +00:00
2017-02-14 13:35:59 +00:00
2017-02-14 13:35:59 +00:00
2016-05-27 06:22:24 +00:00
2016-05-27 06:22:24 +00:00
2016-05-27 06:22:24 +00:00
2017-02-14 13:35:59 +00:00