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: <m2y7ptflx4.wl%ysato@users.sourceforge.jp>
Date:	Thu, 30 Nov 2006 16:12:07 +0900
From:	Yoshinori Sato <ysato@...rs.sourceforge.jp>
To:	David Woodhouse <dwmw2@...bridge.redhat.com>
Cc:	linux-kernel@...r.kernel.org
Subject: redboot partition combind fis / config problem

Can't analyze FIS directory in CYGSEM_REDBOOT_FLASH_COMBINED_FIS_AND_CONFIG 
really.

Signed-off-by: Yoshinori Sato <ysato@...rs.sourceforge.jp>

diff --git a/drivers/mtd/redboot.c b/drivers/mtd/redboot.c
index 5b58523..0204cb9 100644
--- a/drivers/mtd/redboot.c
+++ b/drivers/mtd/redboot.c
@@ -110,6 +110,9 @@ #endif
 				}
 			}
 			break;
+		} else {
+			/* re-calculate of real numslots */
+			numslots = buf[i].size / sizeof(struct fis_image_desc);
 		}
 	}
 	if (i == numslots) {

-- 
Yoshinori Sato
<ysato@...rs.sourceforge.jp>
-
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