🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1051

Re: m4 changequote bug

#1051
From: Eric Blake
Date: Mon, 23 Nov 2009 13:06
53 lines
3960 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[please keep replies on the list, and adding bug-gdb]

According to Josef Vukovic on 11/23/2009 5:37 AM:
> 
> 
> 2009/11/19 Eric Blake <ebb9@byu.net <mailto:ebb9@byu.net>>
> 
> 
>     I'm not sure when that was fixed, but I confirmed that even as far
>     back as
>     1.4.4 does not have that behavior.  Are you sure that was a real bug at
>     some point?  And, if I may ask, why do you care?  Anything older than
>     1.4.6 is not really usable with autoconf.
> 
> 
> 
> The reason why I care is simple. I treid doning the example in "Debugging
> with GDB" and in the chapter "A simple GDB session" there is used a old m4
> Version with the Bug.
> So I thought if I can find such an old version I can copy the bugy code and
> enable users of m4 to switch on a bugy m4 version for the GDB tutorial.
> (like $:gdb -m4 --bugy)

Yuck.  I do NOT want to _intentionally_ expose a memory corruption, even
if it is by an undocumented option such as m4 ---buggy (the three dashes
is not a typo; I prefer that all undocumented options have three dashes,
so as not to interfere with long option abbreviations).  That is just
asking for exploitation problems.  It would be MUCH better for gdb to
update their manual with either a toy program, or something more modern
(as that particular m4 bug was fixed prior to m4 1.4, which was released
more than 15 years ago).

> 
> See this link:
> http://sourceware.org/gdb/current/onlinedocs/gdb/Sample-Session.html#Sample-Session
> 

- --
Don't work too hard, make some time for fun as well!

Eric Blake             ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksKiOUACgkQ84KuGfSFAYC4fACffTdYpILB0HjNmDglOlSb8XWA
8mQAnjLRvA68jqVip8g2BTeoaiQXgfs9
=4Jfn
-----END PGP SIGNATURE-----
Technical Details
Message-ID: <mailman.11374.1259018292.2239.bug-gdb@gnu.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!usenet.stanford.edu!news.stanford.edu!not-for-mail
References: <2181ad850911182126n67b0fa53j67855a46fe983677@mail.gmail.com> <4B0542E8.5050305@byu.net> <2181ad850911230437u6be68284q785d1ca47cb37b6a@mail.gmail.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: f0ead4270c,6687dd43c44af54b,start
X-Google-Attributes: gidf0ead4270c,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!usenet.stanford.edu!news.stanford.edu!not-for-mail
From: Eric Blake <ebb9@byu.net>
Newsgroups: gnu.gdb.bug
Subject: Re: m4 changequote bug
Date: Mon, 23 Nov 2009 06:06:45 -0700
Lines: 55
Approved: bug-gdb@gnu.org
Message-ID: <mailman.11374.1259018292.2239.bug-gdb@gnu.org>
References: <2181ad850911182126n67b0fa53j67855a46fe983677@mail.gmail.com> 
 <4B0542E8.5050305@byu.net>
 <2181ad850911230437u6be68284q785d1ca47cb37b6a@mail.gmail.com>
NNTP-Posting-Host: lists.gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: news.stanford.edu 1259018292 5234 199.232.76.165 (23 Nov 2009 23:18:12 GMT)
X-Complaints-To: news@news.stanford.edu
To: Josef Vukovic <josefvukovic@googlemail.com>, m4-discuss@gnu.org, 
 bug-gdb@gnu.org
Envelope-to: bug-gdb@gnu.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
 rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
In-Reply-To: <2181ad850911230437u6be68284q785d1ca47cb37b6a@mail.gmail.com>
X-Enigmail-Version: 0.96.0
X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not
 recognized.
X-Mailman-Approved-At: Mon, 23 Nov 2009 18:18:11 -0500
X-BeenThere: bug-gdb@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GDB, the GNU debugger" <bug-gdb.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gdb>
List-Post: <mailto:bug-gdb@gnu.org>
List-Help: <mailto:bug-gdb-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=subscribe>