1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-18 00:23:50 +03:00

r8398: Fix segfault in the client addprinterex-call. Found with "net rpc

printer"-functions.

Thanks to Thomas Di Naro (Novell) for the detailed debug-logs.

Guenther
This commit is contained in:
Günther Deschner
2005-07-12 23:52:32 +00:00
committed by Gerald (Jerry) Carter
parent af1aa09cde
commit b532553b06

View File

@@ -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;