git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36f0225
)
r8398: Fix segfault in the client addprinterex-call. Found with "net rpc
author
Günther Deschner
<gd@samba.org>
Tue, 12 Jul 2005 23:52:32 +0000
(23:52 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:00:04 +0000
(11:00 -0500)
printer"-functions.
Thanks to Thomas Di Naro (Novell) for the detailed debug-logs.
Guenther
(This used to be commit
b532553b064f1e9893b39dda903d458055c11f86
)
source3/rpc_parse/parse_spoolss.c
patch
|
blob
|
history
diff --git
a/source3/rpc_parse/parse_spoolss.c
b/source3/rpc_parse/parse_spoolss.c
index 34e3f8fe355aee33d147289fe3fc6b06440189fb..8050712d978a0329ab9a54ed967d8e85547323eb 100644
(file)
--- a/
source3/rpc_parse/parse_spoolss.c
+++ b/
source3/rpc_parse/parse_spoolss.c
@@
-945,7
+945,8
@@
BOOL make_spoolss_q_addprinterex( TALLOC_CTX *mem_ctx, SPOOL_Q_ADDPRINTEREX *q_u
q_u->user_switch=1;
- q_u->user_ctr.level = 1;
+ q_u->user_ctr.level = 1;
+ q_u->user_ctr.user.user1 = TALLOC_P( get_talloc_ctx(), SPOOL_USER_1 );
q_u->user_ctr.user.user1->build = 1381;
q_u->user_ctr.user.user1->major = 2;
q_u->user_ctr.user.user1->minor = 0;