]> Sergey Matveev's repositories - public-inbox.git/commitdiff
eml: avoid Encode 2.87..3.12 leak
authorEric Wong <e@80x24.org>
Wed, 13 Oct 2021 10:16:08 +0000 (10:16 +0000)
committerEric Wong <e@80x24.org>
Wed, 13 Oct 2021 19:52:26 +0000 (19:52 +0000)
Encode::FB_CROAK leaks memory in old versions of Encode:
<https://rt.cpan.org/Public/Bug/Display.html?id=139622>

Since I expect there's still many users on old systems and old
Perls, we can use "$SIG{__WARN__} = \&croak" here with
Encode::FB_WARN to emulate Encode::FB_CROAK behavior.


No differences found