BUG 9574: Fix a possible null pointer dereference in spoolss.
commit5577999a00a0b8409f4d5e2d70b73d8bb57e2b4c
authorAndreas Schneider <asn@samba.org>
Fri, 18 Jan 2013 17:04:17 +0000 (18 18:04 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 14 Mar 2013 09:51:40 +0000 (14 10:51 +0100)
tree80b0886f947d7e7a3575552c9a79276d01ce6a5d
parent86f3f49c6013144854bd9bf95b755e985c06462c
BUG 9574: Fix a possible null pointer dereference in spoolss.

If the the client enumerates the printers and didn't specify a
servername we have a null pointer dereference, so the process serving
the connection crashes.

Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Mon Jan 21 13:30:11 CET 2013 on sn-devel-104
(cherry picked from commit c38fb0b106b62e42a5b75b1c78386bb8912c7d7e)
(cherry picked from commit a2d68842ea33733fa7900831ed10e73f820afcf7)
source3/rpc_server/spoolss/srv_spoolss_nt.c