mirror of
https://github.com/samba-team/samba.git
synced 2025-12-05 12:23:50 +03:00
r5646: state->loadfile might be NULL after allocation so this is really
should be NT_STATUS_HAVE_NO_MEMORY(state->loadfile) instead of NT_STATUS_NOT_OK_RETURN(status).
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
46ae4010f2
commit
eb57a58788
@@ -49,7 +49,7 @@ static NTSTATUS fetchfile_connect(struct composite_context *c,
|
||||
NT_STATUS_NOT_OK_RETURN(status);
|
||||
|
||||
state->loadfile = talloc(state, struct smb_composite_loadfile);
|
||||
NT_STATUS_NOT_OK_RETURN(status);
|
||||
NT_STATUS_HAVE_NO_MEMORY(state->loadfile);
|
||||
|
||||
state->loadfile->in.fname = io->in.filename;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user