Article View: perl.pep
Article #1heads up: Email::MIME triggers Encode leak
From: Eric Wong
Date: Tue, 05 Oct 2021 21:10
Date: Tue, 05 Oct 2021 21:10
9 lines
3292 bytes
3292 bytes
Hey all, apparently the use of Encode::FB_CROAK in Email::MIME has been triggering leaks on Encode::decode failures. It seems like it's been a problem for several years, at least: https://rt.cpan.org/Ticket/Display.html?id=139622 I finally found it because I started porting a wonky malloc debugger to Perl: https://80x24.org/mwrap-perl.git/
Technical Details
Message-ID:
<20211005211040.GA19634@dcvr>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf9.newsdeef.eu!nntp.perl.orgShow Full Headers
Complete Article Headers
Message-ID: <20211005211040.GA19634@dcvr> Subject: heads up: Email::MIME triggers Encode leak Date: Tue, 5 Oct 2021 21:10:40 +0000 From: e@80x24.org (Eric Wong) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf9.newsdeef.eu!nntp.perl.org Newsgroups: perl.pep Return-Path: <e@80x24.org> Mailing-List: contact pep-help@perl.org; run by ezmlm Delivered-To: mailing list pep@perl.org Received: (qmail 11813 invoked from network); 5 Oct 2021 21:10:45 -0000 Received: from xx1.develooper.com (147.75.38.233) by x6.develooper.com with Received: from xx1.develooper.com (xx1.develooper.com [127.0.0.1]) by localhost (Postfix) with SMTP id C9E847C19A for Received: from postfix-inbound-9.inbound.mailchannels.net (inbound-egress-5.mailchannels.net [199.10.31.237]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by xx1.develooper.com (Postfix) with ESMTPS id BB89C7C197 for <pep@perl.org>; Received: from dcvr.yhbt.net (dcvr.yhbt.net [64.71.152.64]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.96.22.243 (trex/6.4.3); Tue, 05 X-Message-ID: haAeTZajppVMNkn1nbDntl0N Authentication-Results: inbound.mailchannels.net; spf=pass smtp.mailfrom=e@80x24.org; dkim=none; dmarc=none Received-SPF: pass (inbound-dmarc-7785c6894b-fs2fz: domain of 80x24.org designates 64.71.152.64 as permitted sender) client-ip=64.71.152.64; envelope-from=e@80x24.org; helo=dcvr.yhbt.net; To: pep@perl.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-PMX-Version: 5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2021.10.5.205716 X-PMX-Spam: Gauge=X, Probability=10%, Report=' URI_SNOWNS_NS_NAME 0.5, HTML_00_01 0.05, HTML_00_10 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODYTEXTP_SIZE_400_LESS 0, BODY_SIZE_1000_LESS 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_300_399 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, DQ_SUSP_1 0, FROM_MALFORMED 0, INVALID_MSGID_NO_FQDN 0, SPF_PASS 0, URI_ENDS_IN_HTML 0, URI_WITH_PATH_ONLY 0, __ANY_URI 0, __AUTH_RES_PASS 0, __BODY_NO_MAILTO 0, __CD 0, __CP_URI_IN_BODY 0, __CT 0, __CT_TEXT_PLAIN 0, __DQ_HEUR_1 0, __FROM_NAME_NOT_IN_ADDR 0, __FROM_NAME_NOT_IN_BODY 0, __FUR_HEADER 0, __HAS_FROM 0, __HAS_MSGID 0, __HTTPS_URI 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MSGID_DOMAIN_NOT_IN_HDRS 0, __MULTIPLE_URI_TEXT 0, __NO_HTML_TAG_RAW 0, __PHISH_SPEAR_SUBJ_SUBJECT 0, __RCVD_PASS 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_START 0, __SUBJ_ALPHA_START_END 0, __TO_MALFORMED_2 0, __TO_NO_NAME 0, __URI_ENDS_IN_SLASH 0, __URI_HAS_HYPHEN_USC 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_MAILTO 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0, __zen.spamhaus.org_ERROR ' Approved: news@nntp.perl.org