Mailing List Archive

[Encode] 3.15 Released
Porters,

My apology for releasing 3.14 prematurely and releasing 3.15 to resolve it. In a way, this is what Encode 3.13 was supposed to be.

> On Oct 8, 2021, at 18:16, Eric Wong <p5p@yhbt.net> wrote:
>
> Hi Dan, it looks like you missed Pali's note about reverting
> commit 2397881 (resolve RT#139622).
>
> Pali's change is more complete than 2397881. With 3.14,
> the leak test included with RT#139622 hits SIGSEGV:
> https://rt.cpan.org/Ticket/Display.html?id=139622


* 3.13 partially fixed the memory leak on FB_CROAK
* Just a single SvREFCNT_dec() added in Encode.xs
* pali submitted a more complete fix in pull #161 but the pr was against 3.12. The previous fix should be reverted beforehand but was not.
* causing the SEGV by unnecessary SvREFCNT_dec()
* 3.15 is here to fix it

=head1 Availability

* git clone git://github.com/dankogai/p5-encode.git
* https://www.dan.co.jp/~dankogai/cpan/Encode-3.15.tar.gz
* CPAN near you.

Travis is all green.

* https://app.travis-ci.com/github/dankogai/p5-encode

=head1 CPAN index

User: DANKOGAI ()
Distribution file: Encode-3.15.tar.gz
Number of files: 225
*.pm files: 26
README: Encode-3.15/README
META-File: Encode-3.15/META.json
META-Parser: Parse::CPAN::Meta 1.4414
META-driven index: no
Timestamp of file: Fri Oct 8 15:45:44 2021 UTC
Time of this run: Fri Oct 8 15:48:45 2021 UTC

=head1 Changes

$Revision: 3.15 $ $Date: 2021/10/08 15:29:23 $
! Encode.xs
Revert Encode 3.13 (commit 2397881) which should have been done w/ pull 161
<20211008091648.GA28259@dcvr>
https://github.com/dankogai/p5-encode/commit/23978817a2c1ed13861167154e8eb3d829104b6b
https://github.com/dankogai/p5-encode/pull/161

3.14 2021/10/08 00:30:35
! Encode.xs
Pulled: Fix memory leak in function encode_method()
https://github.com/dankogai/p5-encode/pull/161

3.13 2021/10/05 23:48:27
! Encode.xs
Apply the patch of RT#139622 to fix a memory leak on FB_CROAK
https://rt.cpan.org/Ticket/Display.html?id=139622

=head1 AUTHOR

Dan the Encode Maintainer
Re: [Encode] 3.15 Released [ In reply to ]
On 10/8/21 11:50 AM, Dan Kogai wrote:
> Porters,
>
> My apology for releasing 3.14 prematurely and releasing 3.15 to resolve it. In a way, this is what Encode 3.13 was supposed to be.
>

Dan, just now I synched Encode 3.15 into blead ( cf927cc ). Can you
double check that this distribution now appears in blead as it should be
for our next development release on October 20 2021?

Thank you very much.
Jim Keenan