diff options
author | Peng Fan <peng.fan@nxp.com> | 2016-01-12 13:21:23 +0800 |
---|---|---|
committer | guoyin.chen <guoyin.chen@freescale.com> | 2016-03-04 15:53:39 +0800 |
commit | 420788d38f9d9ff1db38cccc42d415211bd8ddfb (patch) | |
tree | 2a668062befa31a4d39c2b1fa858a52563403890 /include/configs/sun8i.h | |
parent | 72f69ee87cb88d4e18fe6b05701bff275dc1b68f (diff) | |
download | u-boot-imx-420788d38f9d9ff1db38cccc42d415211bd8ddfb.zip u-boot-imx-420788d38f9d9ff1db38cccc42d415211bd8ddfb.tar.gz u-boot-imx-420788d38f9d9ff1db38cccc42d415211bd8ddfb.tar.bz2 |
MLK-12201 common: env: fix out of bounds read
We should use ARRAY_SIZE, but not directly sizeof, otherwise
we may access memory that is not belong the array env_flags_varaccess_mask.
Coverity ID: 17949
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Diffstat (limited to 'include/configs/sun8i.h')
0 files changed, 0 insertions, 0 deletions