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

Skip to content
Commit e7ff49b2 authored by Dundi Raviteja's avatar Dundi Raviteja
Browse files

icnss2: Use correct pointer to access icnss_priv state



Server arrive may come before initializing penv which
causes possible NULL pointer dereference.

To address this, use function argument priv instead of
global variable penv.

Change-Id: I1355074614b4f30fff1c021db53654b4c844135c
Signed-off-by: default avatarDundi Raviteja <dundi@codeaurora.org>
parent 73db1046
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