mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-02-14 18:48:13 +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>