[SCM] Samba Shared Repository - branch v3-2-test updated -
release-3-2-0pre2-2654-g5aa2411
Volker Lendecke
vlendec at samba.org
Thu Jun 26 14:53:54 GMT 2008
The branch, v3-2-test has been updated
via 5aa2411f0b3720b790439359a2dadb23008e936e (commit)
from 956e1f754580d7194e1716a90725f1e02c8001f7 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test
- Log -----------------------------------------------------------------
commit 5aa2411f0b3720b790439359a2dadb23008e936e
Author: Volker Lendecke <vl at samba.org>
Date: Thu Jun 26 16:51:45 2008 +0200
Fix valgrind errors in _spoolss_addprinterdriver
Jerry, this was dropped as part of your SVN r15309 (037f9f83). Can you please
check?
Thanks,
Volker
-----------------------------------------------------------------------
Summary of changes:
source/rpc_server/srv_spoolss_nt.c | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/rpc_server/srv_spoolss_nt.c b/source/rpc_server/srv_spoolss_nt.c
index a8aa339..f3129ac 100644
--- a/source/rpc_server/srv_spoolss_nt.c
+++ b/source/rpc_server/srv_spoolss_nt.c
@@ -7858,6 +7858,17 @@ WERROR _spoolss_addprinterdriver(pipes_struct *p, SPOOL_Q_ADDPRINTERDRIVER *q_u,
goto done;
}
+ switch(level) {
+ case 3:
+ fstrcpy(driver_name,
+ driver.info_3->name ? driver.info_3->name : "");
+ break;
+ case 6:
+ fstrcpy(driver_name,
+ driver.info_6->name ? driver.info_6->name : "");
+ break;
+ }
+
/*
* I think this is where he DrvUpgradePrinter() hook would be
* be called in a driver's interface DLL on a Windows NT 4.0/2k
--
Samba Shared Repository
More information about the samba-cvs
mailing list