re PR preprocessor/92919 (invalid memory access in wide_str_to_charconst when running...
authorJakub Jelinek <jakub@redhat.com>
Sat, 14 Dec 2019 22:18:53 +0000 (23:18 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 14 Dec 2019 22:18:53 +0000 (23:18 +0100)
commit937a778ea37e129a758c44a3868d3842e5cd62ab
treeb99aebf59c0866c23732650a346899249db85a1b
parent8640a704710ef6a3b57b9c43bc3dee1bb5452e3d
re PR preprocessor/92919 (invalid memory access in wide_str_to_charconst when running ucn2.C testcase (caught by hwasan))

PR preprocessor/92919
* charset.c (wide_str_to_charconst): If str contains just the
NUL terminator, punt quietly.

From-SVN: r279399
libcpp/ChangeLog
libcpp/charset.c