mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-12 07:04:25 +00:00
wasmer: add patch for CVE-2024-38358
This commit is contained in:
parent
d747b5b398
commit
abf9037023
@ -5,6 +5,7 @@
|
||||
, llvmPackages
|
||||
, libffi
|
||||
, libxml2
|
||||
, fetchpatch
|
||||
, CoreFoundation
|
||||
, SystemConfiguration
|
||||
, Security
|
||||
@ -25,6 +26,14 @@ rustPlatform.buildRustPackage rec {
|
||||
|
||||
cargoHash = "sha256-EpHM8YaT2Ty9IBX/gXEa9n8006A9Y5/fq/ueODxHlnc=";
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2024-38358.patch";
|
||||
url = "https://github.com/wasmerio/wasmer/commit/ad4c9cd13de658114cb306262b717a6cb10b8263.patch";
|
||||
hash = "sha256-2B/u5lvTxY8Ip6h4CDq31vhfIn5dqCmMMnSVA2XdTY8=";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
rustPlatform.bindgenHook
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user