MA-11363 [Android] Don't free memory for boot image in AVB
authorLuo Ji <ji.luo@nxp.com>
Mon, 12 Feb 2018 08:33:49 +0000 (16:33 +0800)
committerzhang sanshan <sanshan.zhang@nxp.com>
Fri, 23 Feb 2018 06:05:28 +0000 (14:05 +0800)
commit21b93364d777cbf409139d14eb3e341e2ac1ec33
tree23a109e39710ddafef10bb86828be30cc7ba9012
parent8e339df8ebe9910c314942b6f720e9d1f68b5de8
MA-11363 [Android] Don't free memory for boot image in AVB

We read the boot image to a fixed partition which is defined
in boot header, this part of memory should not be freed with
free() otherwise "Synchronous Abort" error may happen.

Change-Id: I0fd9a3e558fda90c4daeee3080e4f9b393e11d98
Signed-off-by: Luo Ji <ji.luo@nxp.com>
lib/avb/libavb/avb_slot_verify.c
lib/avb/libavb_ab/avb_ab_flow.c