chromium: fix read out of range on aarch64 16k pages builds
Co-authored-by: networkException <github@nwex.de>
This commit is contained in:
co-authored by
networkException
parent
02abbe5c34
commit
608b73b8be
@@ -522,6 +522,22 @@ let
|
||||
excludes = [ "base/allocator/partition_allocator/src/partition_alloc/*" ];
|
||||
revert = true;
|
||||
})
|
||||
]
|
||||
++ lib.optionals (chromiumVersionAtLeast "131" && stdenv.hostPlatform.isAarch64) [
|
||||
# Reverts decommit pooled pages which causes random crashes of tabs on systems
|
||||
# with page sizes different than 4k. It 'supports' runtime page sizes, but has
|
||||
# a hardcode for aarch64 systems.
|
||||
# https://issues.chromium.org/issues/378017037
|
||||
(fetchpatch {
|
||||
name = "reverted-v8-decommit-pooled-paged-by-default.patch";
|
||||
# https://chromium-review.googlesource.com/c/v8/v8/+/5864909
|
||||
url = "https://chromium.googlesource.com/v8/v8/+/1ab1a14ad97394d384d8dc6de51bb229625e66d6^!?format=TEXT";
|
||||
decode = "base64 -d";
|
||||
stripLen = 1;
|
||||
extraPrefix = "v8/";
|
||||
revert = true;
|
||||
hash = "sha256-PuinMLhJ2W4KPXI5K0ujw85ENTB1wG7Hv785SZ55xnY=";
|
||||
})
|
||||
];
|
||||
|
||||
postPatch =
|
||||
|
||||
Reference in New Issue
Block a user