diff options
author | tijl <tijl@FreeBSD.org> | 2015-05-24 15:47:06 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2015-05-24 15:47:06 +0000 |
commit | 4d24fd0e49c93c780e90bef519ae6f06c76259f6 (patch) | |
tree | 468e8bc19cd50f72c1994e92403081cfbd5df67f /sys/compat/linux/linux_futex.c | |
parent | 4dc96a65526c11a0cadf8e4c1bdf2e906fa24fa2 (diff) | |
download | FreeBSD-src-4d24fd0e49c93c780e90bef519ae6f06c76259f6.zip FreeBSD-src-4d24fd0e49c93c780e90bef519ae6f06c76259f6.tar.gz |
When only 2 bytes can be read from a 4 byte UTF-16 character in a base64
encoded chunk of a UTF-7 string, treat that as an incomplete character and
return an error instead of a shift sequence and no error.
Also check that the low 2 bytes have a valid value.
MFC after: 1 week
Diffstat (limited to 'sys/compat/linux/linux_futex.c')
0 files changed, 0 insertions, 0 deletions