diff options
author | Lei Wen <leiwen@marvell.com> | 2011-02-15 16:56:40 +0800 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-04-12 22:58:35 +0200 |
commit | b16aadf411280fc426d7488ddd8a5b2038b7194d (patch) | |
tree | 230cf807873574dcd0e231488a1a64a8fc721d11 /drivers/mmc/mmc.c | |
parent | 9eeaa8e66ce1b34ddac9ebb1f31043f473a7c176 (diff) | |
download | u-boot-imx-b16aadf411280fc426d7488ddd8a5b2038b7194d.zip u-boot-imx-b16aadf411280fc426d7488ddd8a5b2038b7194d.tar.gz u-boot-imx-b16aadf411280fc426d7488ddd8a5b2038b7194d.tar.bz2 |
disk/part.c: fix potential stack overflow bug
If the param pass to get_dev is not the one defined in the block_drvr,
it could make uboot becomes unstable, for it would continue run after
search complete the block_drvr table.
Signed-off-by: Lei Wen <leiwen@marvell.com>
Diffstat (limited to 'drivers/mmc/mmc.c')
0 files changed, 0 insertions, 0 deletions