NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: toolchain/59549: gdb is not ctype(3) safe



The following reply was made to PR toolchain/59549; it has been noted by GNATS.

From: Christos Zoulas <christos%zoulas.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: toolchain-manager%netbsd.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost,
 Thomas Klausner <wiz%NetBSD.org@localhost>,
 "riastradh%netbsd.org@localhost" <riastradh%NetBSD.org@localhost>
Subject: Re: toolchain/59549: gdb is not ctype(3) safe
Date: Sat, 26 Jul 2025 10:06:15 -0400

 --Apple-Mail=_5CF4A1EA-AC4A-4740-AFCA-2C5E7D0C672C
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii
 
 
 > We should just patch gdb locally and file an upstream bug, basic case
 > of clear undefined behaviour that is triggered in real-world use.
 > Christos's patch looks fine to me (but I did not check whether there
 > are any missing cases).
 > 
 
 There are a few more missing, I thought of changing all of the ctype
 macros to gdb_isfoo() instead of all the local casts. I think we should
 let upstream fix it first.
 
 christos
 
 
 --Apple-Mail=_5CF4A1EA-AC4A-4740-AFCA-2C5E7D0C672C
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP
 
 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - http://gpgtools.org
 
 iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCaITg1wAKCRBxESqxbLM7
 OjyFAKCXKgokgQhcf7ARW/ISqobW0acTvwCg4br0Ogsy/zlfqRp8Husg6OZLweM=
 =PzPO
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_5CF4A1EA-AC4A-4740-AFCA-2C5E7D0C672C--
 


Home | Main Index | Thread Index | Old Index