BUG 9574: Fix a possible null pointer dereference in spoolss.
commitc38fb0b106b62e42a5b75b1c78386bb8912c7d7e
authorAndreas Schneider <asn@samba.org>
Fri, 18 Jan 2013 17:04:17 +0000 (18 18:04 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Mon, 21 Jan 2013 12:30:11 +0000 (21 13:30 +0100)
treea52e37e717c0f0fcb4e86397ae9ba014cabf5873
parentf70d0ac7390fdd0f305f0ee1133fd9611ca3333a
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
source3/rpc_server/spoolss/srv_spoolss_nt.c