Subject: Re: lib/34632
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Wolfgang Solfrank <ws@TooLs.DE>
List: netbsd-bugs
Date: 09/27/2006 11:15:04
The following reply was made to PR lib/34632; it has been noted by GNATS.

From: Wolfgang Solfrank <ws@TooLs.DE>
To: gnats-bugs@NetBSD.org
Cc: lib-bug-people@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org, tony2001@php.net
Subject: Re: lib/34632
Date: Wed, 27 Sep 2006 13:10:17 +0200

 Hi,
 
 >  Yes. I did check it out.
 
 Ok, so did I.  On a Debian 3.1 system that is.  And sure enough, it
 _did_ segfault.  For the record, my test program was:
 
 #include <ctype.h>
 
 int
 main(void)
 {
          printf("%d\n", isalpha(0x12345678));
          return 0;
 }
 
 (I.e., be sure to actually use the return value of isalpha, otherwise
 gcc might optimize it away completely!)
 
 Ciao,
 Wolfgang
 -- 
 ws@TooLs.DE                            Wolfgang Solfrank, TooLs GmbH