summaryrefslogtreecommitdiffstats
path: root/usr.sbin/installboot/util.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2015-10-13 23:30:42 +0000
committerschwarze <schwarze@openbsd.org>2015-10-13 23:30:42 +0000
commit136612f731496137b54d6ed411cabaf71efd113a (patch)
tree679aa8617142d07b29060ec8193f124733e040f9 /usr.sbin/installboot/util.c
parentMajor character table cleanup: (diff)
downloadwireguard-openbsd-136612f731496137b54d6ed411cabaf71efd113a.tar.xz
wireguard-openbsd-136612f731496137b54d6ed411cabaf71efd113a.zip
Reject the escape sequences \[uD800] to \[uDFFF] in the parser.
These surrogates are not valid Unicode codepoints, so treat them just like any other undefined character escapes: Warn about them and do not produce output. Issue noticed while talking to stsp@, semarie@, and bentley@.
Diffstat (limited to 'usr.sbin/installboot/util.c')
0 files changed, 0 insertions, 0 deletions