diff options
| author | John Rinehart <johnrichardrinehart@gmail.com> | 2025-09-01 09:17:15 -0700 |
|---|---|---|
| committer | John Rinehart <johnrichardrinehart@gmail.com> | 2025-09-01 09:28:08 -0700 |
| commit | 047ebc793a5a5436fe508066ed6807142c801e09 (patch) | |
| tree | 6ef7c5e5bc453b623900d38ad3c574abf03d20a7 /pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch | |
| parent | c6e7aaf33bf11b7b770275bef8f628eedf12faa5 (diff) | |
acct: repair buffer overflow with dump-acct
The failure is encountered when doing like
```
$ sudo mkdir -p /var/log/account;
$ sudo touch /var/log/account/pacct;
$ nix build 'github:nixos/nixpkgs#acct' -o ./result-acct;
$ sudo ./result-acct/bin/accton on; # writing to /var/log/account/pacct
$ sudo ./result-acct/bin/dump-acct /var/log/account/pacct
*** buffer overflow detected ***: terminated
[1] 37428 abort sudo dump-acct /var/log/account/pacct
```
and is apparently rooted in FORTIFY_SOURCE_3. I found out that Gentoo
users had already hit and reported this [1] but they found that Fedora
users had already hit, reported, and fixed this [2]. So, I'm bringing in
Fedora's patch.
[1] - https://bugs.gentoo.org/925419#c14
[2] - https://bugzilla.redhat.com/show_bug.cgi?id=2190057
Diffstat (limited to 'pkgs/development/python-modules/termplotlib/gnuplot-subprocess.patch')
0 files changed, 0 insertions, 0 deletions
