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

Commit 1e4d3496 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:...

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

Change-Id: Ie90de6ee888c2a90a835bfb06cfd9c1eeadba100
parents 97999061 94512349
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2316,8 +2316,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);
                }