This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In pp_require and code refs in @INC, avoid using memory after free().
authorNicholas Clark <nick@ccl4.org>
Tue, 29 Jun 2010 13:29:23 +0000 (14:29 +0100)
committerNicholas Clark <nick@ccl4.org>
Tue, 29 Jun 2010 16:26:06 +0000 (17:26 +0100)
commitc5f55552f590f25c85de98dc513dcb8287bdbc0f
treecb468c3cbec4fdc56f6e74d407b51dceebe192ff
parentd4f686ebcef0088965d36d72f49b680287c377a2
In pp_require and code refs in @INC, avoid using memory after free().

d8723a6a74b2c12e wasn't perfect, as the char * returned by SvPV*() can be
a temporary, freed at the next FREETMPS. There is a FREETMPS in pp_require,
so move the SvPV*() after it.
pp_ctl.c
t/op/incfilter.t