This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[perl #118175] avoid making pointers outside of objects
authorTony Cook <tony@develop-help.com>
Mon, 3 Jun 2013 12:28:37 +0000 (22:28 +1000)
committerTony Cook <tony@develop-help.com>
Mon, 3 Jun 2013 12:28:37 +0000 (22:28 +1000)
In a couple of cases, when strings were allocated above the 2GB line
on 32-bit CPUs, this could cause regexps to act strangely - not matching
or crashing perl.

The final patch in the set prevents pointer creation which the C standard
describes as undefined behaviour, but is typically safe (as long as the
pointer isn't derefed)


Trivial merge