| commit | 70b4fd3dc795f90014b7cb2f0c82c4f81edb889e | [log] [tgz] |
|---|---|---|
| author | Alan Modra <amodra@gmail.com> | Sun Feb 23 21:05:00 2025 +1030 |
| committer | Alan Modra <amodra@gmail.com> | Sun Feb 23 21:05:00 2025 +1030 |
| tree | 41978a9e7edcdf4360d89b07f4c5be3cc0f3ed6b | |
| parent | a021382482a6c891d74d302a598688f447ae97e0 [diff] |
gas: avoid dangling pointers into freed memory The oss-fuzz gas fuzzer is quite broken in that it doesn't reinitialise all gas and bfd static variables between runs. Since gas naughtily modifies bfd_und_section and bfd_abs_section those bfd statics can hold pointers into freed memory between runs. This patch fixes oss-fuzz issue 398060144.