Fix displaying the value associated a GNU BUILD note that uses an ascii name.
* readelf.c (print_gnu_build_attribute_name): Fix off by one error printing the value for a build note with an ascii name.
This commit is contained in:
parent
9bcbdca808
commit
0dd6ae21da
@ -1,3 +1,8 @@
|
||||
2017-03-17 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* readelf.c (print_gnu_build_attribute_name): Fix off by one error
|
||||
printing the value for a build note with an ascii name.
|
||||
|
||||
2017-03-16 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* readelf.c (print_gnu_build_attribute_name): Add support for
|
||||
|
@ -16848,7 +16848,7 @@ print_gnu_build_attribute_name (Elf_Internal_Note * pnote)
|
||||
len = left;
|
||||
printf ("%.*s ", len, name);
|
||||
left -= len;
|
||||
name += len + 1;
|
||||
name += len;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user