commit | b7e3a78f511d5f337b769627d85dcb5bb8b09703 | [log] [tgz] |
---|---|---|
author | Alexey Brodkin <alexey.brodkin@synopsys.com> | Tue Jan 22 19:33:59 2019 +0300 |
committer | Alexey Brodkin <abrodkin@synopsys.com> | Fri Jan 25 08:40:53 2019 +0300 |
tree | e77c3c4f060c3f9bab5a2ba56f0fec19c10757d6 | |
parent | 1232f0dd1aec0d89095a24f57d423851095b8a7b [diff] |
ARC: Fix iteration in arc_xx_version() "i" gets incremented before we're entering loop body and effectively we iterate from 1 to 8 instead of 0 to 7. This way we: a) Skip the first line of struct hs_versions b) Go over it and access memory beyond the structure Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>