opensc: fix CVE-2026-10275

(cherry picked from commit 596480d541)
This commit is contained in:
Michael Adler 2026-06-02 10:55:47 +02:00 committed by github-actions[bot]
commit 83d091e846

View file

@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitHub,
fetchpatch,
autoreconfHook,
pkg-config,
zlib,
@ -28,6 +29,14 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-s/3bIhPGa3+SKjMh0CNgsU3nOkhEaxPTpmEbc6VIn3Q=";
};
patches = [
(fetchpatch {
name = "CVE-2026-10275.patch";
url = "https://github.com/OpenSC/OpenSC/commit/814f745b3b6d100295f65f1935edd33d520d33ab.patch";
hash = "sha256-S8PeXCRAUlkKUPYOl/n5+4QIqWOZtHX3yEDnpFhJO8k=";
})
];
nativeBuildInputs = [
pkg-config
autoreconfHook