spoolss: fix spoolss_PrinterData size calculation.
commit4520862918ba2cff025b15d84922fbb08d8abbf6
authorGünther Deschner <gd@samba.org>
Sat, 12 Dec 2009 01:52:41 +0000 (12 02:52 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 14 Dec 2009 09:52:43 +0000 (14 10:52 +0100)
tree8fe38ec5c78121762634a6d07bccedddec4aaaa4
parent43ff4f2628882f9fa51bbe37f6cbe776f62241a3
spoolss: fix spoolss_PrinterData size calculation.

Currently we were crashing in EnumPrinterDataEx when an e.g. an empty (NULL)
string for a separator file was returned.

Guenther
(cherry picked from commit e316624ddb8d4e178b03b315bfafd793e6c297c8)
librpc/gen_ndr/ndr_spoolss.c
librpc/gen_ndr/ndr_spoolss.h
librpc/gen_ndr/spoolss.h
librpc/idl/spoolss.idl
librpc/ndr/ndr_spoolss_buf.c
librpc/ndr/ndr_spoolss_buf.h