PR30657, gprof heap buffer overflow
authorAlan Modra <amodra@gmail.com>
Wed, 26 Jul 2023 00:24:03 +0000 (09:54 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 26 Jul 2023 00:53:27 +0000 (10:23 +0930)
commit477c9f2ba26ccd77016f2c97941fc8b35e332e35
tree7101fd32ce2079ad0dc7006ddf9d54251af2b320
parenteb14a8b4bfb767beebfb54d7911da4132b5c0f94
PR30657, gprof heap buffer overflow

PR 30657
* cg_arcs.c (cg_assemble): Sanity check find_call addresses.
* i386.c (i386_find_call): Don't access past end of core_text_space.
* aarch64.c (aarch64_find_call): Round up lowpc, round down highpc.
* alpha.c (alpha_find_call): Likewise.
* mips.c (mips_find_call): Likewise.
* sparc.c (sparc_find_call): Likewise.
* vax.c (vax_find_call): Sanity check core_text_space accesses.
gprof/aarch64.c
gprof/alpha.c
gprof/cg_arcs.c
gprof/i386.c
gprof/mips.c
gprof/sparc.c
gprof/vax.c