From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21108 invoked by alias); 21 Apr 2010 14:22:59 -0000 Received: (qmail 21099 invoked by uid 22791); 21 Apr 2010 14:22:58 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 21 Apr 2010 14:22:53 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id B1E172BAC5A; Wed, 21 Apr 2010 10:22:51 -0400 (EDT) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UoSNQUyFta9z; Wed, 21 Apr 2010 10:22:51 -0400 (EDT) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 9AC8F2BAB95; Wed, 21 Apr 2010 10:22:51 -0400 (EDT) Received: by joel.gnat.com (Postfix, from userid 1000) id 5001FF5895; Wed, 21 Apr 2010 07:22:51 -0700 (PDT) Date: Wed, 21 Apr 2010 14:22:00 -0000 From: Joel Brobecker To: Pierre Muller Cc: gdb-patches@sourceware.org Subject: Re: Explanation: New ARI warning Wed Apr 21 01:54:25 UTC 2010 Message-ID: <20100421142251.GY19194@adacore.com> References: <20100421015425.GA10145@sourceware.org> <001801cae125$cac33230$60499690$@muller@ics-cnrs.unistra.fr> <002701cae128$d5819060$8084b120$@muller@ics-cnrs.unistra.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002701cae128$d5819060$8084b120$@muller@ics-cnrs.unistra.fr> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00678.txt.bz2 > Whoops, I forgot ONE big limitation > that might apply to today's email. > > > > 1072a1071 > > > > gdb/procfs.c:4090: code: sprintf: Do not use sprintf, instead use > > > xstrprintf > > > gdb/procfs.c:4090: sprintf (name, ', pi->pid, map->pr_mapname); > > > 1100d1098 > > > < gdb/procfs.c:5659: code: sprintf: Do not use sprintf, instead use > > > xstrprintf > > > gdb/procfs.c:5659: sprintf (name, ', pi->pid, map->pr_mapname); Not to worry - that's what I deduced when I read your email yesterday night. If anything, it draws our attention to a known issue that has probably been ignored for years... -- Joel