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

Skip to content
Commit 6de7e097 authored by Ashwanth Goli's avatar Ashwanth Goli
Browse files

rmnet_data: Fix use-after-free in rmnet_vnd_create_dev



Currently it is possible for rmnet_vnd_create_dev to update features on
a free'd device in case of device registraton failure.

Fix this issue by updating features only on successful netdevice
registration.

Change-Id: Idbd50f91377206a73ef4105d35b2f5e8cc065a07
Signed-off-by: default avatarAshwanth Goli <ashwanth@codeaurora.org>
parent c091c7a8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment