1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/webkit2gtk/fix-fast-memory-disabled.patch
Rasmus Thomsen ae4a158018 community/webkit2gtk: upgrade to 2.24.2
* Disable GTK_DOC, which fails to build
* Disable system malloc on some arches. There were typos in the options anyway,
  so they haven't done anything anyway. System malloc is discouraged by upstream
  since bmalloc not only performs better it also has some security related
  advantages.

fixes the following CVEs:

* CVE-2019-6251
* CVE-2019-8506
* CVE-2019-8524
* CVE-2019-8535
* CVE-2019-8536
* CVE-2019-8544
* CVE-2019-8551
* CVE-2019-8558
* CVE-2019-8559
* CVE-2019-8563
* CVE-2019-11070

fixes #10598

Co-authored-by: TBK <tbk@jjtc.eu>
2019-06-21 18:02:40 -03:00

14 lines
383 B
Diff

--- a/Source/JavaScriptCore/wasm/WasmFaultSignalHandler.cpp
+++ b/Source/JavaScriptCore/wasm/WasmFaultSignalHandler.cpp
@@ -118,7 +118,11 @@ void unregisterCode(void* start, void* e
bool fastMemoryEnabled()
{
+#if ENABLE(WEBASSEMBLY_FAST_MEMORY)
return fastHandlerInstalled;
+#else
+ return false;
+#endif // ENABLE(WEBASSEMBLY_FAST_MEMORY)
}
void enableFastMemory()