[SCM] Samba Shared Repository - branch master updated
Günther Deschner
gd at samba.org
Mon Nov 23 08:56:31 MST 2009
The branch, master has been updated
via a614298... s3-spoolss: Fix GetPrinter level 101.
from a1a81ef... Revert "s3: Make the implicit reference to Protocol in mask_match() explicit"
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit a6142987ac164318f5023eaa91e4e65efada4423
Author: Günther Deschner <gd at samba.org>
Date: Mon Nov 23 16:54:34 2009 +0100
s3-spoolss: Fix GetPrinter level 101.
Guenther
-----------------------------------------------------------------------
Summary of changes:
source3/rpc_server/srv_spoolss_nt.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 4f3bf73..072090b 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -4946,7 +4946,7 @@ static WERROR spoolss_DriverFileInfo_from_driver(TALLOC_CTX *mem_ctx,
count++;
}
- for (i=0; driver->info3.dependent_files[i][0] != '\0'; i++) {
+ for (i=0; driver->info3.dependent_files[i] && driver->info3.dependent_files[i][0] != '\0'; i++) {
info = TALLOC_REALLOC_ARRAY(mem_ctx, info,
struct spoolss_DriverFileInfo,
count + 1);
--
Samba Shared Repository
More information about the samba-cvs
mailing list