From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 7D6261F953 for ; Sat, 30 Oct 2021 08:11:44 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/5] lei: fix various SIGPIPE problems Date: Sat, 30 Oct 2021 08:11:39 +0000 Message-Id: <20211030081144.1080-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Most worrying was the the bug fixed in 4/5; but at least there wasn't data loss involved... While the bug fixed in 4/5 didn't cause data loss, it was dumping core files and filling up my disk while polluting the kernel log buffer. Eric Wong (5): lei: do not access {sock} after SIGPIPE lei_to_mail: limit workers for text, reply and v2 outputs lei_xsearch: quiet error message on SIG{PIPE,TERM} lei_to_mail: avoid SEGV on worker exit via SIGTERM doc: lei-security: add a note about core dumps Documentation/lei-security.pod | 6 ++++++ lib/PublicInbox/LEI.pm | 2 +- lib/PublicInbox/LeiQuery.pm | 2 +- lib/PublicInbox/LeiToMail.pm | 10 +++++++++- lib/PublicInbox/LeiXSearch.pm | 5 ++++- t/lei-sigpipe.t | 7 +++++-- 6 files changed, 26 insertions(+), 6 deletions(-)