This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] linux-thread-db, check return value of find_thread_pid
- From: Daniel Jacobowitz <drow at false dot org>
- To: msnyder at sonic dot net
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 28 Jun 2007 18:48:48 -0400
- Subject: Re: [patch] linux-thread-db, check return value of find_thread_pid
- References: <15898.12.7.175.2.1183070127.squirrel@webmail.sonic.net>
On Thu, Jun 28, 2007 at 03:35:27PM -0700, msnyder@sonic.net wrote:
> May return null, check before using.
>
> 2007-06-28 Michael Snyder <msnyder@access-company.com>
>
> * linux-thread-db.c (thread_db_get_thread_local_address): Add
> gdb_assert before using return value of find_thread_pid (Coverity).
Thanks, this is fine.
--
Daniel Jacobowitz
CodeSourcery