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

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

Fix security vulnerability am: 45b20251

am: 8778a131

Change-Id: Ic9300f2597702d6e83d80222dbc5ca7d2642f621
parents 6a5a220b 8778a131
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);
                }