Date: Tue, 1 Aug 1995 14:38:03 -0700 From: "Andrey A. Chernov" <ache> To: CVS-commiters, cvs-lib Subject: cvs commit: src/lib/libc/stdlib strtol.c Message-ID: <199508012138.OAA07502@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
ache 95/08/01 14:38:02 Modified: lib/libc/stdlib strtol.c Log: strtol and atoi VERY broken in 8bit chars locale, i.e. if you pass something like 38400<any 8bit char, isalpha> it not detect this stuff and produce very big number instead. Fixed by operating with unsigned char and checking for isascii. (secure/telnetd hits by it f.e.)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508012138.OAA07502>