numactl: Fix memory corruption in set_nodemask_size

This commit is contained in:
Mikael 2024-10-10 18:34:14 +02:00
parent 0a54bc95e0
commit a4cdf9b225
Signed by: mikael
SSH key fingerprint: SHA256:21QyD2Meiot7jOUVitIR5YkGB/XuXdCvLW1hE6dsri0

View file

@ -3,6 +3,15 @@ let
inherit (nixpkgs.lib) optionalAttrs toList; inherit (nixpkgs.lib) optionalAttrs toList;
inherit (prev.stdenv) hostPlatform; inherit (prev.stdenv) hostPlatform;
in { in {
numactl = prev.numactl.overrideAttrs (prevAttrs: {
patches = prevAttrs.patches or [ ] ++ [
(final.fetchpatch {
url = "https://github.com/numactl/numactl/commit/f9deba0c8404529772468d6dd01389f7dbfa5ba9.patch";
hash = "sha256-TmWfD99YaSIHA5PSsWHE91GSsdsVgVU+qIow7LOwOGw=";
})
];
});
redis = prev.redis.overrideAttrs ({ redis = prev.redis.overrideAttrs ({
doCheck = false; doCheck = false;
}); });