mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
ntlm_auth: Add a NULL check
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
d78b4a841e
commit
91f069cc16
@ -1475,6 +1475,10 @@ static void manage_gensec_request(enum stdio_helper_mode stdio_helper_mode,
|
||||
TALLOC_CTX *mem_ctx;
|
||||
|
||||
mem_ctx = talloc_named(NULL, 0, "manage_gensec_request internal mem_ctx");
|
||||
if (mem_ctx == NULL) {
|
||||
printf("BH No Memory\n");
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (*private1) {
|
||||
state = (struct gensec_ntlm_state *)*private1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user