Subject: | SvPV_flags_const_nolen segfaults prior to perl 5.8.8 |
SvPV_flags_const_nolen (introduced in 5.9.3) passes 0 as the lp length
pointer argument that is supposed to be assigned the length of the
string. This works after Change 24749 (included in 5.8.8), in which
sv_2pv_flags is cleaned up to support a null pointer to indicate that
the length need not be assigned/calculated, but prior to that lp is
always dereferenced with segfaulty consequences.
The same issue may apply to one or more of the following:
SvPV_nolen
SvPV_nolen_const
SvPV_force_flags_nolen