crash accessing address 0 in readelf (binutils-2.2.7a)

2018-07-25 Thread Laurent Simon
Hi I've come across an issue in readelf (binutils-2.2.7a), as follows: Problem: --- "readelf -a input" crashes trying to access uninitialized memory (0) if given the right input. Reproduce: - $ CFLAGS="-g -fsanitize=address" CC=clang ../configure --disable-shared --disable-nls --d

Re: crash accessing address 0 in readelf (binutils-2.2.7a)

2018-07-31 Thread Laurent Simon
gzilla :) Best Laurent ____ From: Nick Clifton Sent: Tuesday, July 31, 2018 9:40 AM To: Laurent Simon; bug-binutils@gnu.org Subject: Re: crash accessing address 0 in readelf (binutils-2.2.7a) Hi Laurent, > I've come across an issue in readelf (binutils-2