spoolss: Use correct values for secdesc and devmode pointers
authorGünther Deschner <gd@samba.org>
Fri, 11 Nov 2016 15:29:20 +0000 (16:29 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 2 Jan 2017 10:56:51 +0000 (11:56 +0100)
commitae8131ac1e8001a133d7bf0fba003cd8e6672270
tree7ae6d26ad682a6abe9ea4774376ad189a3009239
parentbcfc67e6e9c2c0209429d0b9aaa5ac277a47e97d
spoolss: Use correct values for secdesc and devmode pointers

ULONG_PTR needs to be decoded as a uint3264 and not as a 'uint32 *'.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11197

Guenther

Pair-Programmed-With: Andreas Schneider <asn@samba.org>

Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 73f664710a8c9b312a54d0cf41d2f4440c8b42eb)
librpc/idl/spoolss.idl
source3/rpc_client/init_spoolss.c
source3/rpcclient/cmd_spoolss.c
source4/torture/rpc/spoolss.c
source4/torture/rpc/spoolss_notify.c