spoolss: clear info on GetPrinterDriverDirectory error
authorDavid Disseldorp <ddiss@samba.org>
Wed, 17 Dec 2014 15:47:50 +0000 (16:47 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Fri, 19 Dec 2014 14:40:43 +0000 (15:40 +0100)
commitc9fccb5018f9a19bb654b9ad79aa716e37a274d6
tree788122ef42a0211bd9cca4112fcf7080ce6b37bb
parent679c781112ce6b7cffca11c28e58ae5f9a0d717d
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>
source3/rpc_server/spoolss/srv_spoolss_nt.c