From 1337b6170376ea690994e18ebb67137d6ab001e8 Mon Sep 17 00:00:00 2001 From: Luke Leighton Date: Wed, 29 Oct 1997 20:08:09 +0000 Subject: zero data parameter being passed to smb_io_rpc_hdr(), which couldn't cope. (This used to be commit c0137cd8fe1362beef9ce879cc558869bdf2edfa) --- source3/smbd/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/smbd') 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; -- cgit