svn commit: r239962 - head/contrib/binutils/binutils

Garrett Cooper yanegomi at gmail.com
Sat Sep 1 01:00:55 UTC 2012


On Fri, Aug 31, 2012 at 4:28 PM, Dimitry Andric <dim at freebsd.org> wrote:
> Author: dim
> Date: Fri Aug 31 23:28:41 2012
> New Revision: 239962
> URL: http://svn.freebsd.org/changeset/base/239962
>
> Log:
>   Fix a twelve year old bug in readelf: when process_dynamic_segment()
>   encounters a DT_RUNPATH entry, the global dynamic_info[] array is
>   overrun, causing some other global variable to be overwritten.
>
>   In my testcase, this was the section_headers variable, leading to
>   segfaults or jemalloc assertions when it was freed later on.
>
>   Thanks to Koop Mast for providing samples of a few "bad" .so files.

...

    Nice! Hopefully this fixes the random tinderbox crashes I've seen!
Has this been fixed upstream?
Thanks!
-Garrett


More information about the svn-src-all mailing list