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

Commit 30ab1434 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:...

Fix security vulnerability am: 2ae83f4f am: 11ab5838 am: ac2b87ac am: 132d0f2a am: 3995674f am: c7892d9d am: cca3b79c am: ebbf8a6b am: 5ba227f9 am: 40cd915a am: ded55218 am: 0e0a2587
am: 6a5a220b

Change-Id: I47743cb142bdb4f21202dc51482fc52996f6b7a4
parents 56ec3afb 6a5a220b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2287,8 +2287,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);
                }