This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Version parsing sanity check for dl_osinfo
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 03 Nov 2003 10:16:19 -0800
- Subject: Re: Version parsing sanity check for dl_osinfo
- Organization: Red Hat, Inc.
- References: <20031101192840.GA8128@nevyn.them.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Daniel Jacobowitz wrote:
> One of our users used an EXTRAVERSION starting with a dot when he compiled
> his kernel. The version was 2.4.22.2003-10-30, which works out to
> 516.22.2003 in this parsing routine. The extra check is just a couple of
> cycles at application startup, so I think it's reasonable to be paranoid
> here.
>
> Is this OK?
No. I have no interest starting to make adjustments to help the
clueless doing stupid things. What will be next, handle strange
prefixes or self-styled version numbers? Educate the people doing these
things.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQE/pptz2ijCOnn/RHQRAvJLAKCvf0Sd2500GmjHUo9YjIQ+n2uUzACeIM40
A2F/eY3kpP4cjBZPTceVgHg=
=Kdk9
-----END PGP SIGNATURE-----