-
Notifications
You must be signed in to change notification settings - Fork 540
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s// on utf8 string occasionally crashes with "Malformed UTF-8 character" #16019
Comments
From @ntyniThis is a bug report for perl from Niko Tyni <ntyni@debian.org>, As reported by Benjamin Bayart in https://bugs.debian.org/864782 a I was able to get it down to #!perl which crashes for me on blead ~50% of the time with something like Malformed UTF-8 character: \x91 (unexpected continuation byte 0x91, with no preceding start byte) in substitution (s///) at /home/ntyni/864782.pl line 3. Running this with valgrind shows invalid reads, and bisecting commit 147f21b make /fixed-substr/ much faster. Flags: Site configuration information for perl 5.27.1: Configured by ntyni at Wed Jun 14 20:16:03 BST 2017. Summary of my perl5 (revision 5 version 27 subversion 1) configuration: @INC for perl 5.27.1: Environment for perl 5.27.1: |
From @iabynOn Wed, Jun 14, 2017 at 01:00:12PM -0700, Niko Tyni wrote:
Now fixed by v5.27.0-322-gbb152a4 -- |
The RT System itself - Status changed from 'new' to 'open' |
@iabyn - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release yesterday of Perl 5.28.0, this and 185 other issues have been Perl 5.28.0 may be downloaded via: If you find that the problem persists, feel free to reopen this ticket. |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#131575 (status was 'resolved')
Searchable as RT131575$
The text was updated successfully, but these errors were encountered: