aboutsummaryrefslogtreecommitdiffstats
path: root/doc/aerc-maildir.5.scd
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-11-01 13:16:21 +0100
committerRobin Jarry <robin@jarry.cc>2022-11-02 13:18:19 +0100
commit7565a96525edb518129c7892843130bf0948eeb6 (patch)
treebdb967f0b4fae73856cf08a79b5ea93886b7d6e3 /doc/aerc-maildir.5.scd
parentae99f4c5bb5af3b69410e2336c9f8204cda1d568 (diff)
downloadaerc-7565a96525edb518129c7892843130bf0948eeb6.tar.gz
address-book-cmd: ignore completion above 100 items
Avoid aerc from consuming all memory on the system if an address book command returns 12 million addresses. Read at most the first 100 lines and kill the command if it has not finished. Display a warning in the logs for good measure. The command is now assigned an different PGID (equal to its PID) to allow killing it *and* all of its children. When the address book command is a shell script that forks a process which never exits, it will avoid killing the shell process and leaving its children without parents. Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'doc/aerc-maildir.5.scd')
0 files changed, 0 insertions, 0 deletions