diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2019-05-08 14:09:56 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2019-05-09 22:39:27 +0000 |
commit | c737b61cb46cace806e634ec3b852546609acd93 (patch) | |
tree | a0293d8c93f5709c1d9bfbe4c967f4eaa35aa99f /librpc/tables.pl | |
parent | 47f2264c5e40ca283708310b1b28f03fad6a21a7 (diff) | |
download | samba-c737b61cb46cace806e634ec3b852546609acd93.tar.gz |
librpc/ndr: make push_charset_to_null UTF-16 safe (CID 1399648)
The length is in test units, not bytes, and includes terminating
nulls. For 16-bit character sets, the terminating null must be two
bytes.
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
Diffstat (limited to 'librpc/tables.pl')
0 files changed, 0 insertions, 0 deletions