Fix reading numeric values from GNU BUILD NOTEs.
authorNick Clifton <nickc@redhat.com>
Mon, 6 Mar 2017 17:21:04 +0000 (17:21 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 6 Mar 2017 17:21:04 +0000 (17:21 +0000)
commit79a964dca572024447adf92e50959dc88aa4f27a
tree09e99b075264be366a07519a05062b33f40d9fc0
parent73f07bffaf8d423295a38dde51dfe6ec7b273280
Fix reading numeric values from GNU BUILD NOTEs.

* readelf.c (print_gnu_build_attribute_name): Read byte values
from the name string as unsigned bytes.
(process_notes_at): Use memcpy to copy an unterminated name
string.
binutils/ChangeLog
binutils/readelf.c