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

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

Fix security vulnerability am: 2ae83f4f am: 11ab5838 am: ac2b87ac am: 132d0f2a

am: 3995674f

Change-Id: I979af2b40c8ee1b3820204cee5fa7e21e4906bf9
parents 13c5c34e 3995674f
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2026,8 +2026,7 @@ void SurfaceFlinger::setTransactionState(
        if (s.client != NULL) {
            sp<IBinder> binder = s.client->asBinder();
            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);
                }