crypto: msm: Fix null pointer exception in qcrypto_count_sg()
Fixes null pointer exception in count scatter gather function. Scatter
gather list pointer become NULL if the sg pointer reaches last but one
node, which results in NULL pointer exception.
Change-Id: I634baf30074e6e53ffa22635565da54e9ae43150
Signed-off-by:
AnilKumar Chimata <anilc@codeaurora.org>
Loading
Please register or sign in to comment