in reply to Re^2: Vulnerabilities when editing untrusted code...
in thread Vulnerabilities when editing untrusted code... (Komodo)
Hi Reini
I'm not sure what you mean... the editor should parse the code for all occurrences of BEGIN, CHECK and UNITCKECK and wrap each block with "use Safe" and "no Safe"?
Regarding the described problems to parse for such blocks I have no idea how to achieve this reliably withot adding a hook to Perl's parser.
Please see Intercepting compile time blocks like BEGIN {} for more detailed description of what I mean.
Cheers Rolf
|
---|
In Section
Meditations