+11
−13
+8
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
We found that some callbacks bound to member functions of |HciHalHost| can get freed while to be run, due to |Reactor::ModifyRegistration| allowing to replace the callback from aside without measures to prevent the race. Currently, |HciHalHost| is the only caller to that function, and an approach is to disallow replacing the callbacks, and only update the poll event masks of interest. Bug: 256533348 Tag: #floss Test: reactor unit tests Change-Id: I7d1eb16a010dd6479514832e6e6333260b769bf8