LF-1846 avb: Fix unintentional integer overflow
authorJi Luo <ji.luo@nxp.com>
Mon, 3 Aug 2020 11:17:09 +0000 (19:17 +0800)
committerJi Luo <ji.luo@nxp.com>
Wed, 19 May 2021 12:01:14 +0000 (20:01 +0800)
commitea4db2f08cf78b6663e8a548cf1c33b8835a4572
treee130c475ec7aa8943191b5f142a251897c7c398e
parent30fdd8c11f2580322465c8ef7125a1398b7eaac4
LF-1846 avb: Fix unintentional integer overflow

Fix Coverity Issue 2690361. Fix unintentional integer overflow by
casting the pte->length to type 'uint64_t'.

Signed-off-by: Ji Luo <ji.luo@nxp.com>
Change-Id: I4536e733c82cb31bbd7da0ee916e7698850c3b81
(cherry picked from commit 3a332c5264b1cdb5aa026bcb6fd4afad69c0d19b)
lib/avb/fsl/fsl_avb.c