Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 12c956f3 authored by Dinesh K Garg's avatar Dinesh K Garg
Browse files

hw_random: msm_rng: fix a null pointer dereference



This change prevents a possible null pointer
dereference in msm_rng.c by moving the function
call under if block.

Change-Id: I481b39c91e495692e575a90b392095e95eb1f367
Acked-by: default avatarSaurabh Sabnis <ssabnis@qti.qualcomm.com>
Signed-off-by: default avatarDinesh K Garg <dineshg@codeaurora.org>
parent a3931eb3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment