diff options
author | Andrew Bartlett <abartlet@samba.org> | 2019-11-07 14:19:24 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2019-12-04 05:10:31 +0000 |
commit | d15a3797c7949140c872e82cc42d4f7301a9bf82 (patch) | |
tree | a8b21307045c2c68315a219cade6cd4cf042e79a /libgpo | |
parent | bf8063e369a227eecc902f90277fc59d9d0ad167 (diff) | |
download | samba-d15a3797c7949140c872e82cc42d4f7301a9bf82.tar.gz |
librpc: Avoid spinning on string_array elements with a short input
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>
Diffstat (limited to 'libgpo')
0 files changed, 0 insertions, 0 deletions