]> 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>
Wed, 14 Jan 2015 20:58:09 +0000 (21:58 +0100)
commitfcbeb4638d2120c20ff361720723554cbf1e4c3a
treeb57d3a6b65920b5e26b8cc9e9981e0da21e39630
parent50a72f093547d543036ea7a3df3d1ef49590af17
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