[Petal] More on taint issues with Petal 1.10_xx

William McKee william at knowmad.com
Mon Oct 27 16:52:31 GMT 2003


On Thu, Oct 16, 2003 at 04:17:19PM -0400, Kurt Stephens wrote:
> It appears that there is a problem when the code croaks or confesses
> in the Safe compartment.  I still have not figured out whether this is
> due to improper $SIG{__DIE__} handling or whether $@ is being
> localized and never returned outside of the Safe compartment.  Again,
> this looks like a problem with the interaction between Carp and Safe,
> rather than a bug in Petal.

Hey Kurt,

Did you ever run the test script I sent? Lincoln has suggested that I
post this error with module interaction inside of Safe compartments to
the core perl developers. It sounds like I can use you as an example of
someone on another platform who is experiencing similar behavior. It
would help if you could confirm that the script I sent works for all but
the last case.

BTW, I tried using a workaround for File::Spec inside of CGI::Carp and
still had the same problems (I was still trying to use a module; just a
different one--File::Basename). I think it's an issue with the
implementation of exception handling in Perl and Safe.

Thanks,
William

-- 
Knowmad Services Inc.
http://www.knowmad.com


More information about the Petal mailing list