commit | acfd5524fa47a96bda305ea79c6b77c201930814 | [log] [tgz] |
---|---|---|
author | Alan Modra <amodra@gmail.com> | Mon Sep 12 19:15:01 2022 +0930 |
committer | Alan Modra <amodra@gmail.com> | Wed Sep 14 10:19:57 2022 +0930 |
tree | 59d5e3f0020ee118bc1f828bf300f5b35d861bc9 | |
parent | 72e366db620f5b2264290d9ba3b62df74bd0c40b [diff] |
asan: som_set_reloc_info heap buffer overflow Also a bugfix. The first time the section was read, the contents didn't supply an addend. * som.c (som_set_reloc_info): Sanity check offset. Do process contents after reading. Tidy section->contents after freeing.