sympow: avoid undefined behaviour by increasing buffer size

This commit is contained in:
Mauricio Collares 2023-02-01 14:40:28 +01:00
parent 7371818c6e
commit 96f13f9193

View File

@ -1,5 +1,6 @@
{ lib, stdenv
, fetchFromGitLab
, fetchpatch
, makeWrapper
, which
, autoconf
@ -20,7 +21,14 @@ stdenv.mkDerivation rec {
sha256 = "132l0xv00ld1svvv9wh99wfra4zzjv2885h2sq0dsl98wiyvi5zl";
};
patches = [ ./clean-extra-logfile-output-from-pari.patch ];
patches = [
./clean-extra-logfile-output-from-pari.patch
(fetchpatch {
name = "null-terminate-dupdirname.patch";
url = "https://gitlab.com/rezozer/forks/sympow/-/merge_requests/5.diff";
sha256 = "sha256-yKjio+qN9teL8L+mb7WOBN/iv545vRIxW20FJU37oO4=";
})
];
postUnpack = ''
patchShebangs .