Properly access sym_attrs
commitadbe794a4628721c4b7976c89dac8f63b08963e7
authorMichael Matz <matz@suse.de>
Sun, 13 Jan 2019 01:55:44 +0000 (13 02:55 +0100)
committerMichael Matz <matz@suse.de>
Sun, 13 Jan 2019 01:55:44 +0000 (13 02:55 +0100)
tree03ce6403ac76ca31cc74ff989220a2d0215ca700
parentd44d8cdf60959a01a28280b07dbfde37b1f13745
Properly access sym_attrs

in corner cases the direct access to the sym_attrs[] array in the
backends is out of bounds and replacec garbage symindices into
the relocs.
arm-link.c
arm64-link.c
i386-link.c
x86_64-gen.c
x86_64-link.c