Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re^2: Garbage Collection & Secure Programming

by rafl (Friar)
on May 09, 2006 at 11:41 UTC ( #548177=note: print w/replies, xml ) Need Help??

in reply to Re: Garbage Collection & Secure Programming
in thread Garbage Collection & Secure Programming

Because of its design, the Perl language is immune to these attacks and to buffer overflow attacks. However, a bug in the Perl interpreter could lead to a buffer overflow;

This is not exactly true. Think of a perl extension, which is written in C or C++ or any other language which suffers from those "traditional" buffer-overflow problems. Those could bring the problem of buffer overflow attacks to your perl application, even if perl is theoretically immune to such attacks.

This is why I usually prefer pure-perl implementations when I choose to use a module from CPAN. At least as long as performance doesn't suffer too much.

Cheers, Flo

  • Comment on Re^2: Garbage Collection & Secure Programming

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://548177]
What's the matter? Cat got your tongue?...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2018-06-20 02:27 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (116 votes). Check out past polls.