This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] linux-thread-db, check return value of find_thread_pid


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]