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] Fix completer access of an already freed memory


On Mon, Nov 24, 2008 at 09:32:54AM -0700, Tom Tromey wrote:
> >>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
> 
> Jan> 2008-11-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
> Jan> 	Fix access of an already freed memory.
> Jan> 	* parse.c (parse_field_expression): Call xstrdup on `*name'.
> Jan> 	* completer.c (expression_completer): Free fieldname.
> 
> Thanks.  FWIW, this looks reasonable to me.  I can't approve it though.

Good enough for me - this is OK, thanks.

-- 
Daniel Jacobowitz
CodeSourcery


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