u-boot/disk
Sergei Shtylyov 54193c5d81 part_dos: fix crash with big sector size
Apple iPod nanos have sector sizes of 2 or 4 KiB, which crashes U-Boot when it
tries to read the MBR into 512-byte buffer situated on stack. Instead use the
variable length arrays to be safe with any large sector size.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
2011-07-27 23:41:33 +02:00
..
Makefile disk/part.c: Make features optional 2011-07-26 14:10:14 +02:00
part.c disk/part.c: fix potential stack overflow bug 2011-04-12 22:58:35 +02:00
part_amiga.c mflash: Initial mflash support 2009-04-03 23:47:06 +02:00
part_amiga.h * Code cleanup: 2003-06-27 21:31:46 +00:00
part_dos.c part_dos: fix crash with big sector size 2011-07-27 23:41:33 +02:00
part_dos.h part_dos: fix crash with big sector size 2011-07-27 23:41:33 +02:00
part_efi.c Partition support: remove newline from partition name 2009-08-09 22:52:38 +02:00
part_efi.h Coding Style cleanup, update CHANGELOG 2008-11-02 16:14:22 +01:00
part_iso.c Partition support: remove newline from partition name 2009-08-09 22:52:38 +02:00
part_iso.h Big white-space cleanup. 2008-05-21 00:14:08 +02:00
part_mac.c mflash: Initial mflash support 2009-04-03 23:47:06 +02:00
part_mac.h * Code cleanup: 2003-06-27 21:31:46 +00:00