Re: libbfd bug: Segfault interpreting a header string

2014-08-29 Thread Nicholas Clifton
Hi Matt, I found an interesting bug in libbfd distributed in binutils-2.24. Thanks for reporting this bug. The problem has already been fixed by Alan Modra in the mainline binutils development sources. Unless there is a real need however I do not plan on backporting his patch to the 2.24

libbfd bug: Segfault interpreting a header string

2014-08-28 Thread Matt Davis
I found an interesting bug in libbfd distributed in binutils-2.24. The following bug triggers a segfault in srec.c at line 576 where data is being dereferenced by the HEX macro. In my case, data was '0' and thus dereferencing a 0 is pretty painful. This can be triggered by the following text file