1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-28 17:47:29 +03:00

zero data parameter being passed to smb_io_rpc_hdr(), which couldn't cope.

(This used to be commit c0137cd8fe1362beef9ce879cc558869bdf2edfa)
This commit is contained in:
Luke Leighton 1997-10-29 20:08:09 +00:00
parent 77cc0d6bac
commit 1337b61703

View 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;