Prevent mEventCache UAF in SensorEventConnection
Since there is no check to see if SensorEventConnection has been destroyed, the mEventCache pointer can still be used even after it was freed. Bug: 168211968 Test: Run test code that attempts to enable a sensor after destroying the SensorEventConnection, and verify no system_server crash occurs. Change-Id: Ia9275b7cc574df371cdb2e1b80c6699df193b580 Merged-In: Ia9275b7cc574df371cdb2e1b80c6699df193b580
Loading
-
mentioned in commit cbfad4bb
-
mentioned in commit 7929c573
-
mentioned in commit 7a0d6741
-
mentioned in commit fdc9ff75
-
mentioned in commit 1ad157da
-
mentioned in commit 564de3bb
-
mentioned in commit da1c37e1
-
mentioned in commit 850191ff
-
mentioned in commit 3d8f2d71
-
mentioned in commit 493347b7
-
mentioned in commit c33d16d4
Please register or sign in to comment