u-boot/disk
Jerry Huang 33699df12c part: check each variable for capability calculation
In order to calculate the capability, we use the below expression to check:
((dev_desc->lba * dev_desc->blksz)>0L)
If the capability is greater than 4GB (e.g. 8GB = 8 * 1024 * 104 * 1024),
the result will overflow, the low 32bit may be zero.

Therefore, change to check each variable to fix this potential issue.

Signed-off-by: Jerry Huang <Chang-Ming.Huang@freescale.com>
2012-12-06 13:56:39 -07:00
..
Makefile disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
part.c part: check each variable for capability calculation 2012-12-06 13:56:39 -07:00
part_amiga.c Block: Remove MG DISK support 2012-06-21 20:53:09 +02:00
part_amiga.h * Code cleanup: 2003-06-27 21:31:46 +00:00
part_dos.c disk: part_dos: print partition UUID in partition list 2012-10-17 07:59:11 -07:00
part_dos.h disk: part_msdos: parse and store partition UUID 2012-09-25 15:05:45 -07:00
part_efi.c disk: Address cast and format errors 2012-10-22 08:29:55 -07:00
part_efi.h disk: part_efi: print raw partition attributes 2012-10-17 07:59:10 -07:00
part_iso.c Block: Remove MG DISK support 2012-06-21 20:53:09 +02:00
part_iso.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
part_mac.c part_mac: dcache: allocate cacheline-aligned buffers 2012-09-02 17:08:31 +02:00
part_mac.h * Code cleanup: 2003-06-27 21:31:46 +00:00