Skip to content

rel_socfpga-5.4.23-lts_20.03.02_rc1

commit 128c66429247add5128c03dc1e144ca56f05a4e2 upstream.
Addresses CVE-2019-18808

Release all allocated memory if sha type is invalid:
In ccp_run_sha_cmd, if the type of sha is invalid, the allocated
hmac_buf should be released.

v2: fix the goto.

Signed-off-by: Navid Emamdoost <[email protected]>
Acked-by: Gary R Hook <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Assets 2
Loading