The Samba-Bugzilla – Attachment 255 Details for
Bug 338
HP 2100 PCL6 driver causes explorer.exe crash
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix EnumPrinterDataEx() reply for 2k//xp clients
parse_spoolss.patch (text/plain), 989 bytes, created by
Gerald (Jerry) Carter (dead mail address)
on 2003-11-13 12:08:36 UTC
(
hide
)
Description:
fix EnumPrinterDataEx() reply for 2k//xp clients
Filename:
MIME Type:
Creator:
Gerald (Jerry) Carter (dead mail address)
Created:
2003-11-13 12:08:36 UTC
Size:
989 bytes
patch
obsolete
>Index: rpc_parse/parse_spoolss.c >=================================================================== >RCS file: /data/cvs/samba/source/rpc_parse/parse_spoolss.c,v >retrieving revision 1.155.2.22 >diff -u -r1.155.2.22 parse_spoolss.c >--- rpc_parse/parse_spoolss.c 25 Sep 2003 21:26:15 -0000 1.155.2.22 >+++ rpc_parse/parse_spoolss.c 13 Nov 2003 20:03:23 -0000 >@@ -7294,11 +7294,13 @@ > if (!prs_unistr("valuename", ps, depth, &ctr->values[i].valuename)) > return False; > >- if (UNMARSHALLING(ps) && ctr->values[i].data_len) { >- ctr->values[i].data = (uint8 *)prs_alloc_mem( >- ps, ctr->values[i].data_len); >- if (!ctr->values[i].data) >- return False; >+ if ( ctr->values[i].data_len ) { >+ if ( UNMARSHALLING(ps) ) { >+ ctr->values[i].data = (uint8 *)prs_alloc_mem( >+ ps, ctr->values[i].data_len); >+ if (!ctr->values[i].data) >+ return False; >+ } > if (!prs_uint8s(False, "data", ps, depth, ctr->values[i].data, ctr->values[i].data_len)) > 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 338
: 255