This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Version parsing sanity check for dl_osinfo


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]