]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: nandbcb: Fix potential overflow in fill_dbbt_data
authorYe Li <ye.li@nxp.com>
Mon, 3 Aug 2020 05:59:43 +0000 (22:59 -0700)
committerStefano Babic <sbabic@denx.de>
Sat, 23 Jan 2021 10:30:31 +0000 (11:30 +0100)
commit983f5e03919ff10118a6c63358fed29d17497f0a
tree2a6d676e756dd91dda01c63e47893dfc68ed049a
parentf637c40dd7ec664cc911a84282ab3d1ee925f6eb
imx: nandbcb: Fix potential overflow in fill_dbbt_data

Fix Coverity Issue 9006658. In fill_dbbt_data, an integer overflow occurs,
with the result converted to a wider integer type

Signed-off-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/cmd_nandbcb.c