zero data parameter being passed to smb_io_rpc_hdr(), which couldn't cope.
authorLuke Leighton <lkcl@samba.org>
Wed, 29 Oct 1997 20:08:09 +0000 (20:08 +0000)
committerLuke Leighton <lkcl@samba.org>
Wed, 29 Oct 1997 20:08:09 +0000 (20:08 +0000)
(This used to be commit c0137cd8fe1362beef9ce879cc558869bdf2edfa)

source3/smbd/ipc.c

index 088ecfbddd767ef6f9c601212b5b7b4b09f9e1c2..0d57b1ecfee82f104f35a98a2472744313b2bf98 100644 (file)
@@ -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;