summaryrefslogtreecommitdiff
path: root/lib/util/byteorder.h
diff options
context:
space:
mode:
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>2015-11-24 13:54:09 +1300
committerRalph Boehme <slow@samba.org>2015-12-09 17:17:05 +0100
commitf07626d0297ed6bd21623409e1ea1ae1138d23a8 (patch)
tree5223038772c68528433e8b89dfe3ec14053b1560 /lib/util/byteorder.h
parenta561ae6294fa926bf3a15b9aaf3d18d25d5e971f (diff)
downloadsamba-f07626d0297ed6bd21623409e1ea1ae1138d23a8.tar.gz
CVE-2015-5330: next_codepoint_handle_ext: don't short-circuit UTF16 low bytes
UTF16 contains zero bytes when it is encoding ASCII (for example), so we can't assume the absense of the 0x80 bit means a one byte encoding. No current callers use UTF16. Bug: https://bugzilla.samba.org/show_bug.cgi?id=11599 Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Pair-programmed-with: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'lib/util/byteorder.h')
0 files changed, 0 insertions, 0 deletions