From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4265 invoked by alias); 13 Jun 2002 01:43:58 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 4258 invoked from network); 13 Jun 2002 01:43:57 -0000 Received: from unknown (HELO localhost.redhat.com) (24.112.240.27) by sources.redhat.com with SMTP; 13 Jun 2002 01:43:57 -0000 Received: from cygnus.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 7A7173CA3; Wed, 12 Jun 2002 21:43:56 -0400 (EDT) Message-ID: <3D07F8DC.3020302@cygnus.com> Date: Wed, 12 Jun 2002 18:43:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0rc3) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Martin M. Hunt" Cc: Elena Zannoni , gdb-patches@sources.redhat.com Subject: Re: [RFA] small patch to command_line_handler References: <200206071312.07163.hunt@redhat.com> <15617.11001.177860.235426@localhost.redhat.com> <200206071736.29090.hunt@redhat.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-06/txt/msg00206.txt.bz2 > On Friday 07 June 2002 02:51 pm, Elena Zannoni wrote: > >> Martin M. Hunt writes: >> > Please check this carefully because I don't really understand the code >> > here. >> > >> > I'm trying to track down some memory trashing and random crashes and the >> > command line handler is reading memory it didn't allocate, which is >> > mostly harmless, but annoying and bad programming. So here's a proposed >> > fix. >> >> Hmmm, odd. Martin, can you look at what happened to this thread that >> reported the very same error? I thought this got fixed. >> >> http://sources.redhat.com/ml/gdb-patches/2002-03/msg00533.html > > > Jason reported the same bug and posted a patch that appears logically > equivalent to mine. Andrew approved it. There was much discussion of > related things but Jason never committed his patch. I'll approve this version then :-) Andrew