[Petal] Repeat object and Safe compartment
William McKee
william at knowmad.com
Tue Aug 12 11:36:35 BST 2003
Sorry to keep replying to my own messages here... I did forget to
include a patch for Petal.pm which turns on the $TAINT check in the
_code_memory_cached sub.
Also, when I applied my patches to my test server this morning I
discovered some weird behavior that turns out to be due to a couple of
debugging lines that I accidentally left in the patch. Before applying
the patch to CodeGenerator.pm, you should remove the two lines following
the calls set_max and set_cur. These were printing out the values of
Petal::Hash_Repeat::MAX and Petal::Hash_Repeat::CUR which appear to be
bogus numbers inside a Safe compartment.
Thanks,
William
--
Knowmad Services Inc.
http://www.knowmad.com
More information about the Petal
mailing list