diff options
author | Luke Leighton <lkcl@samba.org> | 1997-10-29 20:08:09 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1997-10-29 20:08:09 +0000 |
commit | c0137cd8fe1362beef9ce879cc558869bdf2edfa (patch) | |
tree | 207e860c1d14d42fdfe2adf6146a806f83e6be4b | |
parent | 4088683ee046783678d4f748ddb03b5907d00506 (diff) | |
download | samba-c0137cd8fe1362beef9ce879cc558869bdf2edfa.tar.gz |
zero data parameter being passed to smb_io_rpc_hdr(), which couldn't cope.
-rw-r--r-- | source/smbd/ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/ipc.c b/source/smbd/ipc.c index 088ecfbddd7..0d57b1ecfee 100644 --- a/source/smbd/ipc.c +++ b/source/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; |