freebsd-src/lib/libthread_db
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
..
arch Preserve VFP state across signal delivery. 2017-03-26 08:36:56 +00:00
kse.h
libpthread_db.c libthread_db: unsign map_len and use reallocarray(3). 2017-04-20 17:43:25 +00:00
libpthread_db.h libthread_db: unsign map_len and use reallocarray(3). 2017-04-20 17:43:25 +00:00
libthr_db.c Fix warnings found by -Wmising-variable-declarations. 2012-10-19 05:43:38 +00:00
Makefile Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones 2017-01-20 04:28:16 +00:00
Makefile.depend META MODE: Prefer INSTALL=tools/install.sh to lessen the need for xinstall.host. 2015-11-25 19:10:28 +00:00
Symbol.map Extend the td_thrinfo_t to include siginfo for the signal that stopped 2010-07-04 12:08:04 +00:00
thread_db.c Extend the td_thrinfo_t to include siginfo for the signal that stopped 2010-07-04 12:08:04 +00:00
thread_db.h Extend the td_thrinfo_t to include siginfo for the signal that stopped 2010-07-04 12:08:04 +00:00
thread_db_int.h Extend the td_thrinfo_t to include siginfo for the signal that stopped 2010-07-04 12:08:04 +00:00