[Israel.pm] perl memory and buffer overflows

amit sides DiAblo_2 at 012.net.il
Sun Dec 26 10:22:34 PST 2004


Gaal Yahas wrote:

> amit sides wrote:
>
>> im very intersting at perl secure programing and how to avoid 
>> buffer-overflow and how to mange the memory with perl.
>> i wonder if you guys know any good guide/book about it.
>
>
> This kind of bug isn't a normal concern of a Perl programmer. All Perl
> data structures grow as needed, so you can't exploitably smash the stack
> just by pushing large inputs at perl functions. In fact, Perl does not
> *have* automatic variables a la c at all. All variables are allocated on
> a heap and managed with reference counting.

cant i overflow the heap , and to overwrite the perl code there to my code ?




More information about the Perl mailing list