REGRESSION(r260318): [WPE][GTK] Uninitialized memory read in MemoryPressureMonitor
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 May 2020 21:27:12 +0000 (21:27 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 May 2020 21:27:12 +0000 (21:27 +0000)
commit99148d247686e709af94117c56e2f01a54798bf3
treef49a9f7d875b30a77165fd7c49e979f59ff13f2d
parent6c480515f64d9d662fa3cd73fa80f17ed9eb4484
REGRESSION(r260318): [WPE][GTK] Uninitialized memory read in MemoryPressureMonitor
https://bugs.webkit.org/show_bug.cgi?id=212412

Patch by Michael Catanzaro <mcatanzaro@gnome.org> on 2020-05-27
Reviewed by Adrian Perez de Castro.

I think this is a false-positive, but let's suppress the warning by zero-initializing this
buffer.

* UIProcess/linux/MemoryPressureMonitor.cpp:
(WebKit::systemMemoryUsedAsPercentage):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@262217 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/UIProcess/linux/MemoryPressureMonitor.cpp