s3-printing: fix crash in printer_list_set_printer()
authorDavid Disseldorp <ddiss@samba.org>
Wed, 15 Feb 2012 15:30:27 +0000 (16:30 +0100)
committerKarolin Seeger <kseeger@samba.org>
Sat, 18 Feb 2012 18:46:57 +0000 (19:46 +0100)
commit43f9e7400a106cd70d12cf50e84a552f3f75a294
tree9bcce7af7a518d8c6d182a6543d5d793b00a66ae
parentfa17a5518ff050234cccc1d35ec3699202a3e941
s3-printing: fix crash in printer_list_set_printer()

The printer list database format was recently changed to accommodate for
the printcap location field.
One of the tdb_pack calls is not provided with a location string
argument, this causes a crash on some platforms.

https://bugzilla.samba.org/show_bug.cgi?id=8762
source3/printing/printer_list.c