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

Re: Is this approach to checking for a program's UTF-8wellformedness ok?

Thread Previous
From:
Father Chrysostomos
Date:
February 10, 2017 21:12
Subject:
Re: Is this approach to checking for a program's UTF-8wellformedness ok?
Message ID:
20170210211226.19526.qmail@lists-nntp.develooper.com
Karl Williamson wrote:
> I've experimented with this, and it fixes all the relevant fuzzing cases
> that have been presented.  But since this is an area of the core I'm not
> very familiar with, I thought I should ask those who are if I'm missing
> something obvious.

I do not have time to look into this in detail.  Having mg.c set a
flag inside the parser (I hope you are checking that PL_parser is not
null) strikes me as a bit fragile, like the rest of Perl. :-)  As long
as it is well-tested, though, I think we can live with it.

Thread Previous


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