Version parsing sanity check for dl_osinfo

Ulrich Drepper drepper@redhat.com
Mon Nov 3 18:17:00 GMT 2003


-----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-----



More information about the Libc-alpha mailing list