sympow: avoid undefined behaviour by increasing buffer size

+9 -1
+9 -1
pkgs/development/libraries/science/math/sympow/default.nix
··· 1 1 { lib, stdenv 2 2 , fetchFromGitLab 3 + , fetchpatch 3 4 , makeWrapper 4 5 , which 5 6 , autoconf ··· 20 21 sha256 = "132l0xv00ld1svvv9wh99wfra4zzjv2885h2sq0dsl98wiyvi5zl"; 21 22 }; 22 23 23 - patches = [ ./clean-extra-logfile-output-from-pari.patch ]; 24 + patches = [ 25 + ./clean-extra-logfile-output-from-pari.patch 26 + (fetchpatch { 27 + name = "null-terminate-dupdirname.patch"; 28 + url = "https://gitlab.com/rezozer/forks/sympow/-/merge_requests/5.diff"; 29 + sha256 = "sha256-yKjio+qN9teL8L+mb7WOBN/iv545vRIxW20FJU37oO4="; 30 + }) 31 + ]; 24 32 25 33 postUnpack = '' 26 34 patchShebangs .