This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Explanation: New ARI warning Wed Apr 21 01:54:25 UTC 2010
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Pierre Muller <pierre dot muller at ics-cnrs dot unistra dot fr>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 21 Apr 2010 10:22:51 -0400
- Subject: Re: Explanation: New ARI warning Wed Apr 21 01:54:25 UTC 2010
- References: <20100421015425.GA10145@sourceware.org> <001801cae125$cac33230$60499690$@muller@ics-cnrs.unistra.fr> <002701cae128$d5819060$8084b120$@muller@ics-cnrs.unistra.fr>
> 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