This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #128182] Fix crash with require $nonstring
authorFather Chrysostomos <sprout@cpan.org>
Thu, 19 May 2016 01:07:37 +0000 (18:07 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Thu, 19 May 2016 03:13:57 +0000 (20:13 -0700)
If something other than a plain string (e.g. a reference or typeglob)
whose stringified form contains a null character is passed to require()
or do(), it crashes, as of v5.19.3-130-gc8028aa, because the code in
question that handles the error tries to read fields of the scalar
that are only valid if it is a string internally.


No differences found