From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10695 invoked by alias); 8 Jun 2002 00:37:13 -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 10688 invoked from network); 8 Jun 2002 00:37:13 -0000 Received: from unknown (HELO potter.sfbay.redhat.com) (205.180.83.107) by sources.redhat.com with SMTP; 8 Jun 2002 00:37:13 -0000 Received: from localhost.localdomain (IDENT:slDi+AqSLINAtn7CgZ2Y6WBSTFdjX56Z@romulus.sfbay.redhat.com [172.16.27.251]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id g580Ylv18006; Fri, 7 Jun 2002 17:34:47 -0700 Content-Type: text/plain; charset="iso-8859-1" From: "Martin M. Hunt" Organization: Red Hat Inc To: Elena Zannoni Subject: Re: [RFA] small patch to command_line_handler Date: Fri, 07 Jun 2002 17:37:00 -0000 User-Agent: KMail/1.4.1 Cc: gdb-patches@sources.redhat.com References: <200206071312.07163.hunt@redhat.com> <15617.11001.177860.235426@localhost.redhat.com> In-Reply-To: <15617.11001.177860.235426@localhost.redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206071736.29090.hunt@redhat.com> X-SW-Source: 2002-06/txt/msg00119.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. -- Martin Hunt GDB Engineer Red Hat, Inc.