librpc/ndr: Use converted_size to determine if NULL termination was sent
commit00577e9a3ad7d126b6f58b54d1888d696b8cc9b4
authorAndrew Bartlett <abartlet@samba.org>
Tue, 31 May 2011 10:21:37 +0000 (31 20:21 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 31 May 2011 23:42:21 +0000 (1 01:42 +0200)
tree65d66bd6874f5d1ec7111c92c110e1cf5cc6b17b
parent08abd1f5e851c4f40a863f5c3ff6acc93d691efb
librpc/ndr: Use converted_size to determine if NULL termination was sent

This is better than doing a strlen() on the string, as that huristic
only worked for ASCII strings.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Wed Jun  1 01:42:22 CEST 2011 on sn-devel-104
librpc/ndr/ndr_string.c