summaryrefslogtreecommitdiff
path: root/lib/vsprintf.c
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-04-28 10:53:47 +0200
committerWolfgang Denk <wd@denx.de>2010-04-28 10:53:47 +0200
commit2697eff1af136c6424c065cba994aa9aceadbcd1 (patch)
tree916595beae9ff3063e15b7be9ac5dec13651558f /lib/vsprintf.c
parent3699c28e6d16b563629c285311a0ce62a2c4c5d0 (diff)
downloadu-boot-imx-2697eff1af136c6424c065cba994aa9aceadbcd1.zip
u-boot-imx-2697eff1af136c6424c065cba994aa9aceadbcd1.tar.gz
u-boot-imx-2697eff1af136c6424c065cba994aa9aceadbcd1.tar.bz2
mtdparts: fix write through NULL pointer
The "mtdparts add" command wrote through a NULL pointer - on many systems this went unnoticed (PowerPC has writable RAM there, some ARM systems have ROM where a write has no effect), but on arm1136 (i.MX31) it crashed the system. Add appropriate checks. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'lib/vsprintf.c')
0 files changed, 0 insertions, 0 deletions