Bug 2653 - rpcclient crash while executing setdriver command (3.0.15pre2)
rpcclient crash while executing setdriver command (3.0.15pre2)
Product: Samba 3.0
Classification: Unclassified
Component: Client Tools
All All
: P3 critical
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2005-04-26 07:07 UTC by Olaf Imig
Modified: 2006-04-08 07:43 UTC (History)
0 users

See Also:

possible the right patch?? (511 bytes, patch)
2005-04-26 07:10 UTC, Olaf Imig
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olaf Imig 2005-04-26 07:07:16 UTC
While executing setdriver command in rpcclient the client crash.
Obviously the structure SPOOL_USER_CTR was changed -> user1 just a pointer.
In function make_spoolss_q_open_printer_ex (source/rpc_parse/parse_spoolss.c)
you must allocate memory for q_u->user_ctr.user.user1.
Comment 1 Olaf Imig 2005-04-26 07:10:06 UTC
Created attachment 1176 [details]
possible the right patch??
Comment 2 Gerald (Jerry) Carter 2005-04-26 07:41:40 UTC
Thanks Olaf.  patch applied to tree.
Comment 3 Gerald (Jerry) Carter 2005-08-24 10:16:55 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.
Comment 4 Gerald (Jerry) Carter 2006-04-08 07:43:42 UTC
Cleaning up versions.  There was no 3.0.15 so leaving it in bugzilla 
is causing some confusion.  Moving these nuder 3.0.20.
Originally files against 3.0.15preX.