diff options
author | Alan Modra <amodra@gmail.com> | 2020-03-09 09:33:49 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-03-09 10:10:36 +1030 |
commit | 2f57795b8b3cb2c416e91a16bc932480248e30d7 (patch) | |
tree | 8c1225897b9c7949b873704580c0c14e43079846 /bfd/ChangeLog | |
parent | e63ee24f98f0648d1a88f9a74bd60a7278aeda2c (diff) | |
download | gdb-2f57795b8b3cb2c416e91a16bc932480248e30d7.zip gdb-2f57795b8b3cb2c416e91a16bc932480248e30d7.tar.gz gdb-2f57795b8b3cb2c416e91a16bc932480248e30d7.tar.bz2 |
asan: wasm: Out-of-memory
* wasm-module.c (wasm_scan): Sanity check file name length
before allocating memory. Move common section setup code. Do
without bfd_tell to calculate section size.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 0df437b..371e505 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2020-03-09 Alan Modra <amodra@gmail.com> + + * wasm-module.c (wasm_scan): Sanity check file name length + before allocating memory. Move common section setup code. Do + without bfd_tell to calculate section size. + 2020-03-06 Nick Clifton <nickc@redhat.com> * elf.c (_bfd_elf_set_section_contents): Replace call to abort |