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

Commit cf5b13aa authored by Fabien Sanglard's avatar Fabien Sanglard Committed by android-build-merger
Browse files

Fix security vulnerability am: 45b20251 am: 8778a131 am: 18a5e5f6 am: f91ee506

am: b6fa70b9

Change-Id: Ided7a6c942c7414f0d7bba3fd9e707b3f030380a
parents d275f64c b6fa70b9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2203,8 +2203,7 @@ void SurfaceFlinger::setTransactionState(
        if (s.client != NULL) {
            sp<IBinder> binder = IInterface::asBinder(s.client);
            if (binder != NULL) {
                String16 desc(binder->getInterfaceDescriptor());
                if (desc == ISurfaceComposerClient::descriptor) {
                if (binder->queryLocalInterface(ISurfaceComposerClient::descriptor) != NULL) {
                    sp<Client> client( static_cast<Client *>(s.client.get()) );
                    transactionFlags |= setClientStateLocked(client, s.state);
                }