develooper Front page | perl.perl5.porters | Postings from February 2015

[perl #123861] check_locale_boundary_crossing assertion failure

Thread Previous
Hugo van der Sanden
February 17, 2015 17:09
[perl #123861] check_locale_boundary_crossing assertion failure
Message ID:
# New Ticket Created by  Hugo van der Sanden 
# Please include the string:  [perl #123861]
# in the subject line of all future correspondence about this issue. 
# <URL: >

AFL (<>) finds this:

% ./perl -Ilib -e '"\700" =~ /\C0/il'
\C is deprecated in regex; marked by <-- HERE in m/\C <-- HERE 0/ at -e line 1.
perl: utf8.c:1884: S_check_locale_boundary_crossing: Assertion `((U8)(*p) >= 0xc4)' failed.
Aborted (core dumped)

I guess this is the sort of reason why \C was deprecated in the first place, but I wonder if we could be doing a better job to detect this and either disallow it earlier or in some other way survive better.


Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About