summaryrefslogtreecommitdiff
path: root/common/cmd_mtdparts.c
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2016-01-12 13:21:23 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2016-03-04 15:35:54 +0800
commitd72087c428ee44dcfe527d4eff4270ad51a8f917 (patch)
tree2a668062befa31a4d39c2b1fa858a52563403890 /common/cmd_mtdparts.c
parenteb8b3f27e2937d8856fe01441b6c2880b59f02b5 (diff)
downloadu-boot-imx-d72087c428ee44dcfe527d4eff4270ad51a8f917.zip
u-boot-imx-d72087c428ee44dcfe527d4eff4270ad51a8f917.tar.gz
u-boot-imx-d72087c428ee44dcfe527d4eff4270ad51a8f917.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 'common/cmd_mtdparts.c')
0 files changed, 0 insertions, 0 deletions