This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCHv2,Hurd] Fix deallocation after proc_getprocinfo call
- From: Joel Brobecker <brobecker at adacore dot com>
- To: bug-hurd at gnu dot org, thomas at codesourcery dot com, gdb-patches at sourceware dot org
- Date: Mon, 24 Nov 2014 13:28:55 +0400
- Subject: Re: [PATCHv2,Hurd] Fix deallocation after proc_getprocinfo call
- Authentication-results: sourceware.org; auth=none
- References: <20141102152537 dot GG2991 at type dot youpi dot perso dot aquilenet dot fr> <20141123074452 dot GC7136 at adacore dot com> <20141123151946 dot GF4576 at type dot youpi dot perso dot aquilenet dot fr>
> 2014-10-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
>
> * gdb/gnu-nat.c (inf_validate_procinfo): Multiply the number of
> elements pi_len by the size of the elements before calling
> vm_deallocate.
> (inf_validate_task_sc): Likewise, and properly deallocate the
> noise array.
Thank you, Samuel. The patch has now been pushed.
--
Joel