The Samba-Bugzilla – Attachment 1313 Details for
Bug 2557
printer status stays as offline on win xp pro clients for "local printer"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
prevent rpc fault on unsupported SetPrinter() levels
look (text/plain), 697 bytes, created by
Gerald (Jerry) Carter (dead mail address)
on 2005-07-15 11:11:59 UTC
(
hide
)
Description:
prevent rpc fault on unsupported SetPrinter() levels
Filename:
MIME Type:
Creator:
Gerald (Jerry) Carter (dead mail address)
Created:
2005-07-15 11:11:59 UTC
Size:
697 bytes
patch
obsolete
>Index: rpc_parse/parse_spoolss.c >=================================================================== >--- rpc_parse/parse_spoolss.c (revision 8501) >+++ rpc_parse/parse_spoolss.c (working copy) >@@ -3817,6 +3817,22 @@ > return False; > if(!prs_uint32("level", ps, depth, &q_u->level)) > return False; >+ >+ /* check for supported levels and structures we know about */ >+ >+ switch ( q_u->level ) { >+ case 0: >+ case 2: >+ case 3: >+ case 7: >+ /* supported levels */ >+ break; >+ default: >+ DEBUG(0,("spoolss_io_q_setprinter: unsupported printer info level [%d]\n", >+ q_u->level)); >+ return True; >+ } >+ > > if(!spool_io_printer_info_level("", &q_u->info, ps, depth)) > return False;
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 2557
:
1131
|
1132
| 1313