spoolss: clear info on GetPrinterDriverDirectory error
commit4e3e5e7c91844246b92819bbb777a2657ed3d0f9
authorDavid Disseldorp <ddiss@samba.org>
Wed, 17 Dec 2014 15:47:50 +0000 (17 16:47 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 15 Jan 2015 12:55:09 +0000 (15 13:55 +0100)
tree2d1943d150b2baf003f34b37a44314d245f55c1c
parentd2d2f8a24f08e71238ecb742979fcbcb921c11cb
spoolss: clear info on GetPrinterDriverDirectory 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 c9fccb5018f9a19bb654b9ad79aa716e37a274d6)
source3/rpc_server/spoolss/srv_spoolss_nt.c