Guillem Jover 24d1f4dd34 nlist: Check whether sh_link is within bounds
The sh_link members should be >= e_shnum, otherwise we might do out of
bounds read accesses on the shdr array.

Reported-by: Daniel Hodson <daniel@elttam.com.au>
Based-on-patch-by: Daniel Hodson <daniel@elttam.com.au>
Signed-off-by: Guillem Jover <guillem@hadrons.org>
2019-08-08 03:22:09 +02:00
..
2018-06-18 04:31:00 +02:00
2018-06-18 04:31:00 +02:00
2011-06-08 02:10:38 +02:00
2017-06-19 03:17:21 +02:00
2018-05-21 04:48:32 +02:00
2018-05-21 04:48:32 +02:00
2018-06-17 20:23:48 +02:00
2018-05-21 04:47:28 +02:00
2017-06-19 03:17:21 +02:00
2017-06-05 05:52:07 +02:00
2014-07-15 10:57:42 +02:00
2018-05-21 04:47:28 +02:00
2018-04-04 02:29:15 +02:00
2017-06-19 03:17:21 +02:00
2018-05-21 04:47:28 +02:00
2018-03-06 01:10:14 +01:00
2017-06-19 03:17:21 +02:00
2017-06-19 03:17:21 +02:00
2017-06-19 03:17:21 +02:00
2017-06-19 03:17:21 +02:00
2017-06-19 03:17:21 +02:00
2017-06-19 03:17:21 +02:00
2017-06-19 03:17:21 +02:00
2017-06-19 03:17:21 +02:00