diff options
author | Luca Boccassi <bluca@debian.org> | 2023-04-26 23:22:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 23:22:59 +0100 |
commit | 68b12e2d568161660ddc9cf32baeb50bd293984c (patch) | |
tree | c1a74e7bdd9eed052b9a0134572423d4e3af1cab /test | |
parent | 8c9f0d83c2299a5bc3964fd6794ca8d8255b3602 (diff) | |
parent | cf636aa59eb8c848ed04d5b08aac0acf3f6683d9 (diff) | |
download | systemd-68b12e2d568161660ddc9cf32baeb50bd293984c.tar.gz |
Merge pull request #27421 from bluca/coredump_filter
CoredumpFilter: fix stack overflow and invalid assignment with 'all'
Diffstat (limited to 'test')
-rwxr-xr-x | test/units/testsuite-74.coredump.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/units/testsuite-74.coredump.sh b/test/units/testsuite-74.coredump.sh index 3910abe0ec..0e5d050f45 100755 --- a/test/units/testsuite-74.coredump.sh +++ b/test/units/testsuite-74.coredump.sh @@ -153,6 +153,9 @@ timeout 30 bash -c "while [[ \$(coredumpctl list -q --no-legend $$ | wc -l) -eq coredumpctl info "$$" coredumpctl info COREDUMP_HOSTNAME="mymachine" +# This used to cause a stack overflow +systemd-run -t --property CoredumpFilter=all ls /tmp +systemd-run -t --property CoredumpFilter=default ls /tmp (! coredumpctl --hello-world) (! coredumpctl -n 0) |