]> git.vpit.fr Git - perl/modules/indirect.git/commit
Prevent bogus invalid syntaxes caused by reallocated memory chunks
authorVincent Pit <vince@profvince.com>
Thu, 28 May 2009 22:34:04 +0000 (00:34 +0200)
committerVincent Pit <vince@profvince.com>
Thu, 28 May 2009 22:38:22 +0000 (00:38 +0200)
commit8291ef989ac98ee2cb53a6098eed7aa7c3ed0ca8
treeff1b63262cecdbd7384cce07a2db10e12eb62c57
parent93dd6e5ecfa09f52a9aa17909df51d09a0a0a6ff
Prevent bogus invalid syntaxes caused by reallocated memory chunks

Make sure that all our check functions reset a possible previous entry in the pointer table. Then, check in ck_entersub that the object op (the first kid after the pushmark) is of a proper type, so that we are pretty sure that its map entry has been either reset or filled.
MANIFEST
indirect.xs
ptable.h
t/41-memory.t [new file with mode: 0644]
t/lib/indirect/Test0/Fffff/Vvvvvvv.pm [new file with mode: 0644]
t/lib/indirect/Test0/Oooooo/Pppppppp.pm [new file with mode: 0644]