diff options
author | Wolfgang Denk <wd@denx.de> | 2010-04-28 08:53:47 (GMT) |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-04-28 08:53:47 (GMT) |
commit | 2697eff1af136c6424c065cba994aa9aceadbcd1 (patch) | |
tree | 916595beae9ff3063e15b7be9ac5dec13651558f /api | |
parent | 3699c28e6d16b563629c285311a0ce62a2c4c5d0 (diff) | |
download | u-boot-fsl-qoriq-2697eff1af136c6424c065cba994aa9aceadbcd1.tar.xz |
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 'api')
0 files changed, 0 insertions, 0 deletions