]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Wild pointer reads in _bfd_ecoff_locate_line
authorAlan Modra <amodra@gmail.com>
Fri, 17 Feb 2023 01:56:13 +0000 (12:26 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 17 Feb 2023 02:09:10 +0000 (12:39 +1030)
commit75092c693dc1325d222d25e0eb3ac7e24b2f16ad
tree6a705787116ea51c222d191bee0aeb7c28245863
parent999835294779e92ffb1511c20ac37cea4f3a1b4e
Wild pointer reads in _bfd_ecoff_locate_line

* ecofflink.c (mk_fdrtab): Sanity check fdr procedure descriptor
pointer and isymBase.  Set fdrtab_len after possible discards.
Use size_t vars and catch possible size overflows.
bfd/ecofflink.c