svn commit: samba r5646 - in
branches/SAMBA_4_0/source/libcli/composite: .
ab at samba.org
ab at samba.org
Thu Mar 3 09:26:11 GMT 2005
Author: ab
Date: 2005-03-03 09:26:08 +0000 (Thu, 03 Mar 2005)
New Revision: 5646
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5646
Log:
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).
Modified:
branches/SAMBA_4_0/source/libcli/composite/fetchfile.c
Changeset:
Modified: branches/SAMBA_4_0/source/libcli/composite/fetchfile.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/composite/fetchfile.c 2005-03-03 06:15:13 UTC (rev 5645)
+++ branches/SAMBA_4_0/source/libcli/composite/fetchfile.c 2005-03-03 09:26:08 UTC (rev 5646)
@@ -49,7 +49,7 @@
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;
More information about the samba-cvs
mailing list