commit | b9d57d64aea82db6c83df85d2e27a5049bc8a609 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | Fri Jun 03 09:37:43 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Wed Jul 27 23:41:33 2011 +0200 |
tree | ffbad593301b722229711c4e7589de8ae8fc227b | |
parent | e50cc8f21070351cf0310166becd9ca20a00ed3f [diff] |
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>