lib/gssapi/ntlm: _gss_ntlm_allocate_ctx handle calloc failure
commitda6190ec033fa9790f0bc235c433464a11f5a1f4
authorJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 1 Jan 2019 20:05:31 +0000 (1 15:05 -0500)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Tue, 1 Jan 2019 20:05:31 +0000 (1 15:05 -0500)
treeaf9cbdf851fb020a42dee4e7eb39dc2845d9d5af
parentc1c98d3cfd42600e1bb3746b6ed090ab12bb4559
lib/gssapi/ntlm: _gss_ntlm_allocate_ctx handle calloc failure

If a memory allocation failure occurs, return an error instead of
triggering a segmentation fault.

Change-Id: I38f5e88ca2f1ba7411b05a35b925168015261eb4
lib/gssapi/ntlm/accept_sec_context.c