PR26188, buff overflow in coff_find_nearest_line_with_names
authorAlan Modra <amodra@gmail.com>
Wed, 1 Jul 2020 07:24:50 +0000 (16:54 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 1 Jul 2020 11:48:11 +0000 (21:18 +0930)
commit33d1369f183f1c276e3f0f52b5573fb2f5843b1c
tree6c2b9f099f3c99cf8a95c07922133d4b99fc9079
parent9cdf98207c5bab668e3734d11d5a24d6b5375b54
PR26188, buff overflow in coff_find_nearest_line_with_names

PR 26188
* coffgen.c (coff_find_nearest_line_with_names): Sanity check
raw syment index before dereferencing.
bfd/ChangeLog
bfd/coffgen.c