readstat: backport "use-after-free" fix

+7
+7
pkgs/applications/science/math/readstat/default.nix
··· 16 16 url = "https://github.com/WizardMac/ReadStat/commit/211c342a1cfe46fb7fb984730dd7a29ff4752f35.patch"; 17 17 hash = "sha256-nkaEgusylVu7NtzSzBklBuOnqO9qJPovf0qn9tTE6ls="; 18 18 }) 19 + 20 + # Backport use-after-free: 21 + # https://github.com/WizardMac/ReadStat/pull/298 22 + (fetchpatch { 23 + url = "https://github.com/WizardMac/ReadStat/commit/718d49155e327471ed9bf4a8c157f849f285b46c.patch"; 24 + hash = "sha256-9hmuFa05b4JlxSzquIxXArOGhbi27A+3y5gH1IDg+R0="; 25 + }) 19 26 ]; 20 27 21 28 nativeBuildInputs = [ pkg-config autoreconfHook ];