]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/ChangeLog
asan: wasm: Out-of-memory
authorAlan Modra <amodra@gmail.com>
Sun, 8 Mar 2020 23:03:49 +0000 (09:33 +1030)
committerAlan Modra <amodra@gmail.com>
Sun, 8 Mar 2020 23:40:36 +0000 (10:10 +1030)
commit2f57795b8b3cb2c416e91a16bc932480248e30d7
tree8c1225897b9c7949b873704580c0c14e43079846
parente63ee24f98f0648d1a88f9a74bd60a7278aeda2c
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.
bfd/ChangeLog
bfd/wasm-module.c