]> git.ipfire.org Git - thirdparty/samba.git/commit
spoolss: clear info on GetPrintProcessorDirectory error
authorDavid Disseldorp <ddiss@samba.org>
Wed, 17 Dec 2014 14:54:22 +0000 (15:54 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 15 Jan 2015 12:55:09 +0000 (13:55 +0100)
commitd2d2f8a24f08e71238ecb742979fcbcb921c11cb
tree795457959fd14e5cd768ef3759ecc2a7eb353ccf
parente9e576a5fb12f8402ff0025ed348cee9325be7b6
spoolss: clear info on GetPrintProcessorDirectory error

If an error is returned without zeroing a pre-allocated @info pointer,
then marshalling of the response will fail.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10984

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit 679c781112ce6b7cffca11c28e58ae5f9a0d717d)
source3/rpc_server/spoolss/srv_spoolss_nt.c