PR26430, ASAN: nacl_modify_segment_map elf-nacl.c:164
authorAlan Modra <amodra@gmail.com>
Tue, 25 Aug 2020 05:17:50 +0000 (14:47 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 25 Aug 2020 13:37:10 +0000 (23:07 +0930)
commit0c1438eb15a31098ba42427e0f48e4e5cc6bfe0b
treebc4dfae000def74dd1d01c4e540eaaa3798f175f
parent250dd99fc92bac670691b66363dd71dccb22b10d
PR26430, ASAN: nacl_modify_segment_map elf-nacl.c:164

PR 26430
* elf-nacl.c (nacl_modify_segment_map): Correct alloc size and
amount copied for elf_segment_map defined with one element
sections array.
bfd/ChangeLog
bfd/elf-nacl.c