Dimitry Andric 6a1fba3556 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.

MFC after:	1 week
2012-08-31 23:28:41 +00:00
..
2012-06-17 11:36:28 +00:00
2012-08-08 09:42:44 +00:00
2011-07-14 14:01:36 +00:00
2012-08-15 03:21:56 +00:00
2011-12-13 17:34:47 +00:00
2012-07-26 11:12:38 +00:00
2012-07-24 01:09:11 +00:00
2012-03-12 01:06:29 +00:00
2012-05-17 05:11:57 +00:00
2012-02-22 03:36:15 +00:00
2011-12-08 02:40:46 +00:00
2012-03-25 02:10:31 +00:00