Date: Mon, 17 Oct 2005 12:20:05 +0000 (UTC) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/contrib/cpio/lib argp.h Message-ID: <200510171220.j9HCK5QB055668@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2005-10-17 12:20:05 UTC
FreeBSD src repository
Modified files:
contrib/cpio/lib argp.h
Log:
In __option_is_short(), avoid calling isprint() on key characters outside
the range allowed by that function, resulting in undefined behaviour.
Our undefined behaviour in multibyte locales happened to differ from
glibc's, resulting in errors parsing option strings.
Obtained from: Corinna Vinschen (Red Hat)
Revision Changes Path
1.2 +3 -1 src/contrib/cpio/lib/argp.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510171220.j9HCK5QB055668>
