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

Commit 6fd27767 authored by Emilian Peev's avatar Emilian Peev
Browse files

Camera: Avoid invalid request thread access

The following code path:
CameraService::CameraInjectionSession::stopInjection()->
Camera3Device::stopInjection()->
Camera3DeviceInjectionMethods::stopInjection
will try to access 'Camera3Device' 'RequestThread'
without checking whether the instance is valid.
If clients trigger the injection stop just after
Camera3Device disconnect, it is possible to access
an invalid/released request thread.

Flag: EXEMPT bugfix
Bug: 426820406
Test: Camera CTS
Change-Id: I192d9c394760de4b5d29045671adeb2bfccfa00e
parent ffaeb38a
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