mirror of
https://github.com/LineageOS/android_kernel_fxtec_sm6115.git
synced 2026-06-10 01:43:15 +00:00
Avoid crashing if the crypto key payload was NULL, as when it was not correctly allocated and initialized. Also, avoid leaking it. Signed-off-by: Sylvain Munaut <tnt@246tNt.com> Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Alex Elder <elder@inktank.com>