lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <m1iqi3wxai.fsf@fess.ebiederm.org>
Date:	Tue, 07 Jul 2009 22:36:53 -0700
From:	ebiederm@...ssion.com (Eric W. Biederman)
To:	Matthias Pfaller <leo@...co.de>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: Bug in dmi_get_year (causing apic not getting enabled)

Matthias Pfaller <leo@...co.de> writes:

> Hi,
>
> dmi_get_year extracts the year with:
>
> 	simple_strtoul(s, NULL, 0);
>
> for biosdates in 2008 and 2009 this will return 0 because 8 and 9 are no valid
> octal digits. This will e.g. result in the apic not getting enabled.
> Changing this to
>
> 	simple_strtoul(s, NULL, 10);
>
> should fix the problem.

Only if there is a leading 0....


Eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ