qemu: add patch for CVE-2022-3165
This commit is contained in:
parent
b24ba297b5
commit
ceee8090d1
1 changed files with 5 additions and 0 deletions
|
@ -112,6 +112,11 @@ stdenv.mkDerivation rec {
|
||||||
revert = true;
|
revert = true;
|
||||||
})
|
})
|
||||||
./9pfs-use-GHashTable-for-fid-table.patch
|
./9pfs-use-GHashTable-for-fid-table.patch
|
||||||
|
(fetchpatch {
|
||||||
|
name = "CVE-2022-3165.patch";
|
||||||
|
url = "https://gitlab.com/qemu-project/qemu/-/commit/d307040b18bfcb1393b910f1bae753d5c12a4dc7.patch";
|
||||||
|
sha256 = "sha256-YPhm580lBNuAv7G1snYccKZ2V5ycdV8Ri8mTw5jjFBc=";
|
||||||
|
})
|
||||||
]
|
]
|
||||||
++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch;
|
++ lib.optional nixosTestRunner ./force-uid0-on-9p.patch;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue