readstat: backport "use-after-free" fix

This commit is contained in:
Sergei Trofimovich 2024-01-13 18:52:18 +00:00
parent 2d1894e6fa
commit 10697291cc

View File

@ -16,6 +16,13 @@ stdenv.mkDerivation rec {
url = "https://github.com/WizardMac/ReadStat/commit/211c342a1cfe46fb7fb984730dd7a29ff4752f35.patch";
hash = "sha256-nkaEgusylVu7NtzSzBklBuOnqO9qJPovf0qn9tTE6ls=";
})
# Backport use-after-free:
# https://github.com/WizardMac/ReadStat/pull/298
(fetchpatch {
url = "https://github.com/WizardMac/ReadStat/commit/718d49155e327471ed9bf4a8c157f849f285b46c.patch";
hash = "sha256-9hmuFa05b4JlxSzquIxXArOGhbi27A+3y5gH1IDg+R0=";
})
];
nativeBuildInputs = [ pkg-config autoreconfHook ];