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  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date:	Sun, 17 Jun 2007 13:47:40 +0400
From:	Dmitriy Monakhov <dmonakhov@...ru>
To:	linux-ext4@...r.kernel.org
Subject: [patch] e2fsprogs time value is interpreted as signed

after bug: http://bugzilla.kernel.org/show_bug.cgi?id=5079
was fixed by:
commit 4d7bf11d649c72621ca31b8ea12b9c94af380e63
Author: Markus Rechberger <Markus.Rechberger@....com>
Date:   Tue May 8 00:23:39 2007 -0700
__u32 time value becomes interpreat as signed value. This patch add
coresponding fix to debug fs routine.

Signed-off-by: Dmitriy Monakhov <dmonakhov@...nvz.org>
---
 debugfs/util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/debugfs/util.c b/debugfs/util.c
index c6096ab..53a0813 100644
--- a/debugfs/util.c
+++ b/debugfs/util.c
@@ -187,7 +187,7 @@ int check_fs_bitmaps(char *name)
 char *time_to_string(__u32 cl)
 {
 	static int	do_gmt = -1;
-	time_t		t = (time_t) cl;
+	time_t		t = (time_t)(signed) cl;
 	char *		tz;
 
 	if (do_gmt == -1) {
-- 
1.5.2


-
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists