void-packages/srcpkgs/webkit2gtk/patches/fix-fast-memory-disabled.patch
q66 a877c796c0 webkit2gtk: revert to 2.24.x and update to 2.24.4
Since the 2.25.x branch still appears to be problematic on some
systems, revert to the 2.24.x branch for now. This would have
been a necessary update either way as it fixes multiple CVEs.

The 2.26 stable release appears to be coming fairly soon, so
we will be unreverting this as soon as it does.

[ci skip]
2019-09-08 15:58:44 +02:00

14 lines
456 B
Diff

--- Source/JavaScriptCore/wasm/WasmFaultSignalHandler.cpp.orig 2017-09-14 10:03:40.908890971 +0200
+++ Source/JavaScriptCore/wasm/WasmFaultSignalHandler.cpp 2017-09-14 10:04:17.084859537 +0200
@@ -112,7 +112,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()