Saturday, September 26, 2026

Allocated WebAssembly stack memory with MAP_STACK in firefoxes

Folks, I'd like to backport a fix for WebAssembly which leads to crash of firefox, see: https://bugzilla.mozilla.org/show_bug.cgi?id=2074025 Almost the same fix was backported to chromiums. As I understand only Librefox and two Firefox needs it. Ok? Index: www/firefox-esr/Makefile =================================================================== RCS file: /cvs/ports/www/firefox-esr/Makefile,v diff -u -p -r1.280 Makefile --- www/firefox-esr/Makefile 15 Sep 2026 12:44:26 -0000 1.280 +++ www/firefox-esr/Makefile 26 Sep 2026 22:10:26 -0000 @@ -2,6 +2,7 @@ COMMENT = Firefox web browser, Extended ONLY_FOR_ARCHS = amd64 aarch64 riscv64 MOZILLA_VERSION = 153.3.0esr +REVISION = 0 MOZILLA_BRANCH = release MOZILLA_PROJECT = firefox-esr MOZILLA_CODENAME = browser Index: www/firefox-esr/patches/patch-js_src_gc_Memory_cpp =================================================================== RCS file: www/firefox-esr/patches/patch-js_src_gc_Memory_cpp diff -N www/firefox-esr/patches/patch-js_src_gc_Memory_cpp --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ www/firefox-esr/patches/patch-js_src_gc_Memory_cpp 26 Sep 2026 22:10:26 -0000 @@ -0,0 +1,36 @@ +https://hg.mozilla.org/mozilla-central/rev/b3a14f8efa23 + +Index: js/src/gc/Memory.cpp +--- js/src/gc/Memory.cpp.orig ++++ js/src/gc/Memory.cpp +@@ -530,6 +530,30 @@ void MapStack(size_t stackSize) { +

No comments:

Post a Comment