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

Commit 41ab86fb 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

Change-Id: Ib4fad8fa8a393bc6233b842f0550db03708a65b1
parents 81e84ad0 f91ee506
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);
                }