]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Shell: Reject \u and \U escape sequences that produce surrogates.
authorBruno Haible <bruno@clisp.org>
Sat, 21 Jun 2025 04:49:23 +0000 (06:49 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 21 Jun 2025 04:49:23 +0000 (06:49 +0200)
commit3e7c882bd77ece8d0c1eab91e74d4e9dadac1f56
tree830d5850e89aae7a528416c12ced590970889887
parent06858e5651f601c8d4e4b84cbb972749fdfc2a66
xgettext: Shell: Reject \u and \U escape sequences that produce surrogates.

* gettext-tools/src/x-sh.c (read_word): Reject \u and \U values in the range
0xD800..0xDFFF.
* gettext-tools/tests/xgettext-sh-9: Add more test cases.
gettext-tools/src/x-sh.c
gettext-tools/tests/xgettext-sh-9