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

Commit d8b28e4f authored by Mathias Agopian's avatar Mathias Agopian
Browse files

fix [2225964] Android runtime restarted in surfaceflinger/BlurFilter.cpp

crash was due to an unintialized variable, which caused the wrong bluring
format to be used and caused a memory overrrun.
parent ec1f1e3d
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -42,7 +42,8 @@ LayerBlur::LayerBlur(SurfaceFlinger* flinger, DisplayID display,
        const sp<Client>& client, int32_t i)
    : LayerBaseClient(flinger, display, client, i), mCacheDirty(true),
          mRefreshCache(true), mCacheAge(0), mTextureName(-1U),
mWidthScale(1.0f), mHeightScale(1.0f)
          mWidthScale(1.0f), mHeightScale(1.0f),
          mBlurFormat(GGL_PIXEL_FORMAT_RGB_565)
{
}