librpc/ndr: add ndr_push_charset_to_null and increase library version (abi change)
authorGünther Deschner <gd@samba.org>
Wed, 11 Jan 2017 15:57:49 +0000 (16:57 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 24 Jan 2017 09:53:17 +0000 (10:53 +0100)
commit303ae2a023dda7686cfded36951ec2baad30d9b6
tree2910222ec4f50238b5d8f0c206ed91a6021a3593
parent9b0fc295eff69120593211863d0253bdd9ecd0fe
librpc/ndr: add ndr_push_charset_to_null and increase library version (abi change)

We were crashing earlier when calculating the length of NULL strings in
fixed size arrays (noticed while replying with an empty
spoolss_CorePrinterDriver struct within the spoolss_GetCorePrinterDrivers
call).

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
librpc/ABI/ndr-0.0.9.sigs [new file with mode: 0644]
librpc/ndr/libndr.h
librpc/ndr/ndr_string.c
librpc/wscript_build