mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 21:10:08 +00:00
liblouis: apply patch for CVE-2022-26981
Fixes: CVE-2022-26981
Refs:
liblouis/liblouis#1185
GHSA-xrp8-mw8v-p6mq
https://nvd.nist.gov/vuln/detail/CVE-2022-26981
(cherry-pick of a4f5b169f1)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
{ fetchFromGitHub
|
||||
, lib, stdenv
|
||||
, fetchpatch
|
||||
, autoreconfHook
|
||||
, pkg-config
|
||||
, gettext
|
||||
@@ -21,6 +22,14 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "sha256-vuD+afTOzldhfCRG5ghnWulNhip7BaTE7GfPhxXSMFw=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "CVE-2022-26981.patch";
|
||||
url = "https://github.com/liblouis/liblouis/commit/73751be7a5617bfff4a735ae095203a2d3ec50ef.patch";
|
||||
sha256 = "sha256-PvGG62QHVslrClZP903AYCBof6jDzNe4L8eFU8X0vF4=";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [ "out" "dev" "man" "info" "doc" ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user