commit | 5858ac626e548772407c038b09b7837550b127dd | [log] [tgz] |
---|---|---|
author | Nick Clifton <nickc@redhat.com> | Fri Aug 05 10:29:48 2022 +0100 |
committer | Nick Clifton <nickc@redhat.com> | Fri Aug 05 10:29:48 2022 +0100 |
tree | 24adcf531466743408c6d156fd712f421070e972 | |
parent | 731d2cc1d5106c077584bd83e96dbba4f7e11118 [diff] |
When gas/read.c calls mbstowcs with a NULL destination, it should set size to 0 PR 29447 * read.c (read_symbol_name): Pass 0 as the length parameter when invoking mbstowc in order to check the validity of a wide string.