git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4088683
)
zero data parameter being passed to smb_io_rpc_hdr(), which couldn't cope.
author
Luke Leighton
<lkcl@samba.org>
Wed, 29 Oct 1997 20:08:09 +0000
(20:08 +0000)
committer
Luke Leighton
<lkcl@samba.org>
Wed, 29 Oct 1997 20:08:09 +0000
(20:08 +0000)
source/smbd/ipc.c
patch
|
blob
|
history
diff --git
a/source/smbd/ipc.c
b/source/smbd/ipc.c
index 088ecfbddd767ef6f9c601212b5b7b4b09f9e1c2..0d57b1ecfee82f104f35a98a2472744313b2bf98 100644
(file)
--- 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;