Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^3: Vulnerabilities when editing untrusted code...

by LanX (Chancellor)
on Aug 09, 2010 at 21:07 UTC ( #853916=note: print w/replies, xml ) Need Help??


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

  • Comment on Re^3: Vulnerabilities when editing untrusted code...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://853916]
help
Chatterbox?
and one hand claps...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2017-02-21 01:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (304 votes). Check out past polls.