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

[Encode] 3.14 Released

Thread Previous | Thread Next
From:
Dan Kogai
Date:
October 8, 2021 00:49
Subject:
[Encode] 3.14 Released
Message ID:
46D8BA7D-C6CD-4C1A-BAEF-959754A9874A@dan.co.jp
Porters,

Just updated Encode to 3.14.

https://github.com/dankogai/p5-encode/pull/161

> Pull request #72 fixed memory
> corruption but introduced a new memory leak as dst scalar is not mortal
> anymore and not every possible exit from every XS function properly release
> scalar's memory.
> 
> Fix this memory leak by making dst scalar mortal again. To not re-introduce
> that memory corruption, first store dst scalar into temporary variable and
> then save it into stack via ST(0) macro.

=head1 Availability

* git clone git://github.com/dankogai/p5-encode.git
* https://www.dan.co.jp/~dankogai/cpan/Encode-3.14.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.14.tar.gz
 Number of files: 225
 *.pm files: 26
 README: Encode-3.14/README
 META-File: Encode-3.14/META.json
 META-Parser: Parse::CPAN::Meta 1.4414
 META-driven index: no
 Timestamp of file: Fri Oct  8 00:35:29 2021 UTC
 Time of this run: Fri Oct  8 00:38:31 2021 UTC

=head1 Changes

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

=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