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>] [day] [month] [year] [list]
Message-Id: <1157558848.9460.54.camel@localhost.localdomain>
Date:	Wed, 06 Sep 2006 09:07:28 -0700
From:	Don Mullis <dwm@...r.net>
To:	lkml <linux-kernel@...r.kernel.org>
Subject: Re: [patch 6/6] process filtering for fault-injection capabilities
	[bug fix]

Type agreement in sscanf().

Signed-off-by: Don Mullis <dwm@...r.net>

---
 lib/should_fail.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.17/lib/should_fail.c
===================================================================
--- linux-2.6.17.orig/lib/should_fail.c
+++ linux-2.6.17/lib/should_fail.c
@@ -16,7 +16,7 @@ int setup_should_fail(struct should_fail
 	unsigned long filter;
 
 	/* "<probability>,<interval>,<times>,<space>,<process-filter>" */
-	if (sscanf(str, "%lu,%lu,%d,%d,%d", &probability, &interval, &times,
+	if (sscanf(str, "%lu,%lu,%d,%d,%lu", &probability, &interval, &times,
 		   &space, &filter) < 5)
 		return 0;
 


-
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