acct: repair buffer overflow with dump-acct (#439249)

authored by Jared Baur and committed by GitHub 0eaac9af 22c76d59

+8
+8
pkgs/by-name/ac/acct/package.nix
··· 2 2 fetchurl, 3 3 lib, 4 4 stdenv, 5 + fetchpatch2, 5 6 }: 6 7 7 8 stdenv.mkDerivation rec { ··· 14 15 }; 15 16 16 17 doCheck = true; 18 + 19 + patches = [ 20 + (fetchpatch2 { 21 + url = "https://src.fedoraproject.org/rpms/psacct/raw/rawhide/f/psacct-6.6.4-sprintf-buffer-overflow.patch"; 22 + hash = "sha256-l74tLIuhpXj+dIA7uAY9L0qMjQ2SbDdc+vjHMyVouFc="; 23 + }) 24 + ]; 17 25 18 26 meta = { 19 27 description = "GNU Accounting Utilities, login and process accounting utilities";