commit | d8334dbc4b6032a6938f3e741b93ccd48e097d2e | [log] [tgz] |
---|---|---|
author | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Thu Jul 21 21:21:04 2011 +0000 |
committer | Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> | Thu Jul 21 21:21:04 2011 +0000 |
tree | a41033f8d22caa096221beaa0942d7c5aec5ed56 | |
parent | ec8c248414d1fe9e163a6003aebb57f003a9123d [diff] |
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>