aboutsummaryrefslogtreecommitdiff
path: root/lib/libthread_db/libpthread_db.c
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2006-02-06 11:54:19 +0000
committerDavid Xu <davidxu@FreeBSD.org>2006-02-06 11:54:19 +0000
commit83154c48d68a6834cf7b89b124fc0eae10c18446 (patch)
tree060af3ce0857f78b25cbbba76fb8a7e385da50c9 /lib/libthread_db/libpthread_db.c
parent04f6d3effa2265f731a6356660c67840c387533a (diff)
Notes
Diffstat (limited to 'lib/libthread_db/libpthread_db.c')
-rw-r--r--lib/libthread_db/libpthread_db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libthread_db/libpthread_db.c b/lib/libthread_db/libpthread_db.c
index ea7f81c6ebc8..5dfc1dd454cb 100644
--- a/lib/libthread_db/libpthread_db.c
+++ b/lib/libthread_db/libpthread_db.c
@@ -597,6 +597,7 @@ pt_thr_get_info(const td_thrhandle_t *th, td_thrinfo_t *info)
TDBG_FUNC();
+ bzero(info, sizeof(*info));
ret = pt_validate(th);
if (ret)
return (ret);