diff options
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-07-21 21:21:04 +0000 |
---|---|---|
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | 2011-07-21 21:21:04 +0000 |
commit | 4fff819f1e27ef76c03e88032c62ffcde32d6d48 (patch) | |
tree | a41033f8d22caa096221beaa0942d7c5aec5ed56 /ichspi.c | |
parent | 7ba7e5561df3320fc967cc8b399e2de58cff4a05 (diff) | |
download | flashrom-4fff819f1e27ef76c03e88032c62ffcde32d6d48.zip flashrom-4fff819f1e27ef76c03e88032c62ffcde32d6d48.tar.gz |
Fix out-of-bounds access if all erase functions fail
Fix detection of unchanged chip contents on erase failure.
Return error if no usable erase functions exist.
Thanks to Stefan Tauner for spotting the last problem.
Corresponding to flashrom svn r1380.
Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'ichspi.c')
0 files changed, 0 insertions, 0 deletions