Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Telink] Fix NotifyAdvertisingStopped with Null node
Since in file src/platform/Zephyr/BLEAdvertisingArbiter.cpp function InsertRequest obtains previous node using iteration via slist - condition (prev == nullptr) is only true if slist is empty. In that case NotifyAdvertisingStopped is always called with Null and no Null checker inside the function. As result crash.
- Loading branch information