[PATCH master] optee: check optee_verify_header argument for error pointers
Sascha Hauer
s.hauer at pengutronix.de
Fri Mar 1 01:20:29 PST 2024
On Thu, 29 Feb 2024 10:46:56 +0100, Ahmad Fatoum wrote:
> optee_verify_header is called at two places with
> imx_scratch_get_optee_hdr() as argument, which returns an error pointer.
>
> Check against that to avoid crashing in error cases.
>
>
Applied, thanks!
[1/1] optee: check optee_verify_header argument for error pointers
https://git.pengutronix.de/cgit/barebox/commit/?id=231e81f8645c (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list