summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1997-10-29 20:08:09 +0000
committerLuke Leighton <lkcl@samba.org>1997-10-29 20:08:09 +0000
commit1337b6170376ea690994e18ebb67137d6ab001e8 (patch)
tree23a161c959ac93d65c91b7c984f0055cafd6ad1d /source3/smbd
parent77cc0d6bac0db80caded81bee90ac7b8e3c9f67c (diff)
downloadsamba-1337b6170376ea690994e18ebb67137d6ab001e8.tar.gz
samba-1337b6170376ea690994e18ebb67137d6ab001e8.tar.bz2
samba-1337b6170376ea690994e18ebb67137d6ab001e8.zip
zero data parameter being passed to smb_io_rpc_hdr(), which couldn't cope.
(This used to be commit c0137cd8fe1362beef9ce879cc558869bdf2edfa)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/ipc.c b/source3/smbd/ipc.c
index 088ecfbddd..0d57b1ecfe 100644
--- a/source3/smbd/ipc.c
+++ b/source3/smbd/ipc.c
@@ -2946,7 +2946,7 @@ static int api_fd_reply(int cnum,uint16 vuid,char *outbuf,
rparam = (char *)malloc(1024); if (rparam) bzero(rparam,1024);
#ifdef NTDOMAIN
- if (api_fd_commands[i].subcommand != -1)
+ if (data != NULL && api_fd_commands[i].subcommand != -1)
{
RPC_HDR hdr;