develooper Front page | perl.perl5.porters | Postings from October 2021

[Encode] 3.15 Released

Thread Previous | Thread Next
From:
Dan Kogai
Date:
October 8, 2021 15:51
Subject:
[Encode] 3.15 Released
Message ID:
9FB18B82-1FA8-4E33-B7F2-507E9B35C1B9@dan.co.jp
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

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About