diff options
author | Nick Clifton <nickc@redhat.com> | 2022-08-05 10:29:48 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2022-08-05 10:29:48 +0100 |
commit | 5858ac626e548772407c038b09b7837550b127dd (patch) | |
tree | 24adcf531466743408c6d156fd712f421070e972 /gas/ChangeLog | |
parent | 731d2cc1d5106c077584bd83e96dbba4f7e11118 (diff) | |
download | fsf-binutils-gdb-5858ac626e548772407c038b09b7837550b127dd.zip fsf-binutils-gdb-5858ac626e548772407c038b09b7837550b127dd.tar.gz fsf-binutils-gdb-5858ac626e548772407c038b09b7837550b127dd.tar.bz2 |
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.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 5a391a2..f6b3577 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2022-08-05 Nick Clifton <nickc@redhat.com> + + 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. + 2022-07-18 Claudiu Zissulescu <claziss@synopsys.com> * config/tc-arc.c (md_assembly): Update strspn string with the |