mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
d15a3797c7
Without this protection we will spin during decode of a string_array or nstring_array that is terminated by only a single NUL byte, not two as required by UTF-16. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13874 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>