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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 4 Feb 2008 15:06:38 -0800
From:	Andrew Morton <akpm@...ux-foundation.org>
To:	Hugh Dickins <hugh@...itas.com>
Cc:	yi.y.yang@...el.com, greg@...ah.com, rdunlap@...otime.net,
	linux-kernel@...r.kernel.org
Subject: Re: 2.6.24-mm1: module params broken

On Mon, 4 Feb 2008 21:56:54 +0000 (GMT)
Hugh Dickins <hugh@...itas.com> wrote:

> Please chuck out:
> add-new-string-functions-strict_strto-and-convert-kernel-params-to-use-them.patch
> (along with Randy's perfectly reasonable -fix.patch).
> 
> So predictable that it would just disable loading modules with params:
> Feb  4 13:17:02 blonde kernel: thinkpad_acpi: `1' invalid for parameter `experimental'
> 
> Maybe it's something as simple as a trailing whitespace issue,
> I haven't looked, would prefer the originator to do so.
> openSUSE 10.3 if that makes any difference.
> 

Takashi found a bug in it:

--- a/lib/vsprintf.c~add-new-string-functions-strict_strto-and-convert-kernel-params-to-use-them-fix-2
+++ a/lib/vsprintf.c
@@ -234,7 +234,7 @@ int strict_strto##type(const char *cp, u
 		if (ret != 0)						\
 			*res = -(*res);					\
 	} else								\
-		ret = strict_strtou##type(cp+1, base, res);		\
+		ret = strict_strtou##type(cp, base, res);		\
 									\
 	return ret;							\
 }									\
_

and I was very bad and didn't immediately prepare and upload the fix and
hence probably wasted a lot of your time, for which I apologise.  In my
defense, it was 4:00AM Sunday and I had lost eye control by then.

Does that fix fix it?  If not: patch overboard.
--
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