bootutil: loader: Verify image header before checking image
Changes the order of operations to validate the image header before checking the image, it does not make sense to check the image if the header itself is invalid Note: This PR has been modified from the upstream commit due to a merge failure from other changes that are not being brought into Zephyr 3.7 Signed-off-by:Jamie McCrae <jamie.mccrae@nordicsemi.no> (cherry picked from commit 2939d305)
Loading
Please sign in to comment