diff options
author | Jeremy Allison <jra@samba.org> | 2000-09-12 22:33:41 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-09-12 22:33:41 +0000 |
commit | 9e1fbb0c2f1d2ad0c907f1e902e44ea7af214b57 (patch) | |
tree | 75f1f7ad718c0ab59e1fafec6b8da6d90ae23cd0 | |
parent | 41d03a118c9981fc2159f37cd5ed4684e1d36037 (diff) | |
download | samba-9e1fbb0c2f1d2ad0c907f1e902e44ea7af214b57.tar.gz |
Fix for enumjobs infor level 2 which caused smbd to coredump.
Uninitialized element in struct.
Jeremy.
-rw-r--r-- | source/rpc_server/srv_spoolss_nt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/rpc_server/srv_spoolss_nt.c b/source/rpc_server/srv_spoolss_nt.c index 0464d252f01..5f69c097c7a 100644 --- a/source/rpc_server/srv_spoolss_nt.c +++ b/source/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 */ |