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

Skip to content
Commit 36dd3c09 authored by Manaswini Paluri's avatar Manaswini Paluri Committed by Gabriel Biren
Browse files

Add null check before adding iface to pointer vector



If there is a failure in nan iface creation, nullptr is being
added to iface vector which is further leading to nullptr dereference
while iterating over the vector. Avoid adding nullptr to vector
if the iface creation fails. Also, add null check to pointer
before dereferencing it.

Bug: 356562924
Test: m
Change-Id: Ic0995aba592720f26a23d27b4e9387ab3dc86c7d
Signed-off-by: default avatarManaswini Paluri <quic_mpaluri@quicinc.com>
parent 949f460d
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