Unverified Commit 0eaac9af authored by Jared Baur's avatar Jared Baur Committed by GitHub
Browse files

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

parents 22c76d59 047ebc79
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  fetchurl,
  lib,
  stdenv,
  fetchpatch2,
}:

stdenv.mkDerivation rec {
@@ -15,6 +16,13 @@ stdenv.mkDerivation rec {

  doCheck = true;

  patches = [
    (fetchpatch2 {
      url = "https://src.fedoraproject.org/rpms/psacct/raw/rawhide/f/psacct-6.6.4-sprintf-buffer-overflow.patch";
      hash = "sha256-l74tLIuhpXj+dIA7uAY9L0qMjQ2SbDdc+vjHMyVouFc=";
    })
  ];

  meta = {
    description = "GNU Accounting Utilities, login and process accounting utilities";