summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-09-12 22:33:41 +0000
committerJeremy Allison <jra@samba.org>2000-09-12 22:33:41 +0000
commit3e675875a45dea286cc28beef043f6e18d6addde (patch)
tree14238c966716b875ba46517e568d3604e0aea117 /source3
parent043860d8b71925b0973d81daf7cf7e39354bdc28 (diff)
downloadsamba-3e675875a45dea286cc28beef043f6e18d6addde.tar.gz
samba-3e675875a45dea286cc28beef043f6e18d6addde.tar.bz2
samba-3e675875a45dea286cc28beef043f6e18d6addde.zip
Fix for enumjobs infor level 2 which caused smbd to coredump.
Uninitialized element in struct. Jeremy. (This used to be commit 9e1fbb0c2f1d2ad0c907f1e902e44ea7af214b57)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_spoolss_nt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c
index 0464d252f0..5f69c097c7 100644
--- a/source3/rpc_server/srv_spoolss_nt.c
+++ b/source3/rpc_server/srv_spoolss_nt.c
@@ -3424,6 +3424,7 @@ static BOOL fill_job_info_2(JOB_INFO_2 *job_info, print_queue_struct *queue,
init_unistr(&job_info->datatype, "RAW");
init_unistr(&job_info->printprocessor, "winprint");
init_unistr(&job_info->parameters, "");
+ init_unistr(&job_info->drivername, ntprinter->info_2->drivername);
init_unistr(&job_info->text_status, "");
/* and here the security descriptor */