Fix potential SEGVs for PVBMs on 5.10.0 and later.
authorNicholas Clark <nick@ccl4.org>
Sun, 24 Apr 2011 19:45:25 +0000 (20:45 +0100)
committerNicholas Clark <nick@ccl4.org>
Sun, 24 Apr 2011 21:05:03 +0000 (22:05 +0100)
commit4a3d023dd5db197387dca602995d16f5a5ce5690
tree5230fba8778c4f44546cc86461a7a0d81d025fba
parentce5e7c21ee5eb5beb9c08dcc9621abeca548778b
Fix potential SEGVs for PVBMs on 5.10.0 and later.

5.10.0 stores PVBMs as PVGVs. Hence not all PVGVs are typeglobs, and XS code
should check isGV_with_GP() is true before performing typeglob lookups.

The PVGV code currently ignores SvCUR()/SvLEN(), so for now the size of PVBMs
is under-reported on 5.10.0 and later.
CHANGES
MANIFEST
Size.xs
t/pvbm.t [new file with mode: 0644]