summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2003-08-15 20:12:40 +0000
committerGerald Carter <jerry@samba.org>2003-08-15 20:12:40 +0000
commit4e88fd330e0306188e5a95d8b3d3665e4e3d56bb (patch)
treedc028674c580c0f91968f4602379cf200fc3bc59 /source3/rpc_server
parent7ddf760beabd61b180c10b6a5a45d472d432da93 (diff)
downloadsamba-4e88fd330e0306188e5a95d8b3d3665e4e3d56bb.tar.gz
samba-4e88fd330e0306188e5a95d8b3d3665e4e3d56bb.tar.bz2
samba-4e88fd330e0306188e5a95d8b3d3665e4e3d56bb.zip
possible fix for bug 288 to repcent using an uninitialized cli_state struct
(This used to be commit d09dc91c024d718a8ddb6b7f08c7fe84716beda4)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 725672da69..646aac347c 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -2668,6 +2668,8 @@ static BOOL srv_spoolss_replyopenprinter(int snum, const char *printer,
fstrcpy(unix_printer, printer+2); /* the +2 is to strip the leading 2 backslashs */
+ ZERO_STRUCT(notify_cli);
+
if(!spoolss_connect_to_client(&notify_cli, client_ip, unix_printer))
return False;