Subject: lib/19638: isalpha (3) bug
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mac@S.Culver.Net>
List: netbsd-bugs
Date: 01/02/2003 01:12:22
>Number: 19638
>Category: lib
>Synopsis: isalpha() seg faults with valid input data
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 02 01:12:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Mike Cheponis
>Release: NetBSD 1.6
>Organization:
>Environment:
System: NetBSD S.Culver.Net 1.6 NetBSD 1.6 (GENERIC) #0: Sun Sep 8 19:43:40 UTC 2002 autobuild@tgm.daemon.org:/autobuild/i386/OBJ/autobuild/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
isalpha() seg faults with valid input data, in this case, the first int
that causes the seg fault is 81183. See sample code, below.
>How-To-Repeat:
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
int main()
{
int c=81183;
int v;
v = isalpha(c);
return 0;
}
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: