Fix invalid memory access displayiing contents of sections.
authorNick Clifton <nickc@redhat.com>
Tue, 14 Feb 2017 15:10:34 +0000 (15:10 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 14 Feb 2017 15:10:34 +0000 (15:10 +0000)
commitbc303e5d6c2dd33086478f80fd1d3096d4e1bc01
tree853e7390d0fea4e88a0607c6661fbcfc39199b54
parent92134dc19b4bf6407a88a306b771c9c6c88658d6
Fix invalid memory access displayiing contents of sections.

PR binutils/21159
* readelf.c (dump_section_as_strings): Reset the start address if
no decompression is perfromed.
(dump_section_as_bytes): Likewise.
binutils/ChangeLog
binutils/readelf.c