u-boot/arch/arc
Alexey Brodkin 7181a6d1cf 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>
2019-01-25 08:40:53 +03:00
..
cpu ARC: Use elf32-bigarc in case of -EB 2018-05-31 20:13:29 +03:00
dts emdk->emsdp: Rename board 2018-11-01 23:04:05 +03:00
include/asm ARC: Improve identification of ARC cores 2018-12-03 14:26:18 +03:00
lib ARC: Fix iteration in arc_xx_version() 2019-01-25 08:40:53 +03:00
config.mk ARC: Don't use COMMON section for global not-initialized variables 2018-10-15 13:35:17 +03:00
Kconfig Kconfig: Migrate BOUNCE_BUFFER 2019-01-19 09:49:26 -05:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00