The Samba-Bugzilla – Attachment 5479 Details for
Bug 7230
NULL pointer derref crash in spoolss_addprinterex_level_2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 3.3
spoolss_addprinterex.patch (text/plain), 939 bytes, created by
Guenther Deschner
on 2010-03-09 20:05:55 UTC
(
hide
)
Description:
patch for 3.3
Filename:
MIME Type:
Creator:
Guenther Deschner
Created:
2010-03-09 20:05:55 UTC
Size:
939 bytes
patch
obsolete
>From fcd42c0d23f8b89d7c62e41810e5c45e15fa4dab Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> >Date: Mon, 3 Aug 2009 23:41:08 +0200 >Subject: [PATCH] s3-spoolss: fix crash bug in spoolss_addprinterex_level_2. > >Guenther >--- > source/rpc_server/srv_spoolss_nt.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source/rpc_server/srv_spoolss_nt.c b/source/rpc_server/srv_spoolss_nt.c >index d24a44b..8c034e9 100644 >--- a/source/rpc_server/srv_spoolss_nt.c >+++ b/source/rpc_server/srv_spoolss_nt.c >@@ -7780,7 +7780,7 @@ static WERROR spoolss_addprinterex_level_2( pipes_struct *p, const UNISTR2 *uni_ > } > > /* you must be a printer admin to add a new printer */ >- if (!print_access_check(NULL, snum, PRINTER_ACCESS_ADMINISTER)) { >+ if (!print_access_check(p->server_info, snum, PRINTER_ACCESS_ADMINISTER)) { > free_a_printer(&printer,2); > return WERR_ACCESS_DENIED; > } >-- >1.6.6.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 7230
:
5479
|
5494