crypto: msm: Check the return value of cmdlistinfo
The functions _ce_get_cipher_cmdlistinfo() and _ce_get_hash_cmdlistinfo()
may return NULL and dereferencing it. This patch fixes the issue with the
proper checks in the driver.
Change-Id: I491d66b0c69347e2cc484160c20655bdd113d67b
Signed-off-by:
AnilKumar Chimata <anilc@codeaurora.org>
Loading
Please register or sign in to comment