Pedro F. Giffuni 1f2b051d84 libthread_db: unsign map_len and use reallocarray(3).
Lengths are not negative, so map_len should be unsigned. Unsign the
corresponding indexes too and bring a small use of reallocarray(3).

Reorder the memset to be consistent with the realloc: it appears we
were only clearing half the memory in pt_map_thread().

MFC after:	2 weeks
2017-04-20 17:43:25 +00:00
..
2017-03-28 10:39:17 +00:00
2017-04-18 15:36:13 +00:00
2017-02-28 23:42:47 +00:00
2017-01-30 23:00:51 +00:00
2016-11-11 23:28:07 +00:00
2017-02-28 23:42:47 +00:00
2016-11-20 06:10:12 +00:00
2017-03-11 00:08:11 +00:00
2017-04-07 06:06:55 +00:00
2017-02-27 00:10:00 +00:00
2017-03-19 00:51:12 +00:00
2017-02-14 13:35:59 +00:00
2017-02-28 23:42:47 +00:00
2017-04-15 20:05:22 +00:00
2017-02-28 23:42:47 +00:00
2017-04-15 20:05:22 +00:00