app: aboot: Add check to prevent OOB read while parsing cmd_flash_meta_img

Add check to confirm the size of given image which unchecked may cause OOB
error while flashing meta images.

Change-Id: I74307c9c64694bf7336ba9a2317fb0a376222e89
Signed-off-by: Ashish Bhimanpalliwar <abhiman@codeaurora.org>
1 file changed