summaryrefslogtreecommitdiffstats
path: root/ichspi.c
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-07-21 21:21:04 +0000
committerCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2011-07-21 21:21:04 +0000
commit4fff819f1e27ef76c03e88032c62ffcde32d6d48 (patch)
treea41033f8d22caa096221beaa0942d7c5aec5ed56 /ichspi.c
parent7ba7e5561df3320fc967cc8b399e2de58cff4a05 (diff)
downloadflashrom-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
OpenPOWER on IntegriCloud