Is python buffer overflow proof?
marcusw at cox.net
Sun Aug 2 16:32:39 CEST 2009
On 8/2/2009 9:50 AM, Jizzai wrote:
> Is a _pure_ python program buffer overflow proof?
> For example in C++ you can declare a char to hold user input.
> If the user inputs 10+ chars a buffer overflow occurs.
> In python, I cannot seem to find a way to define/restrict a string length.
> This is probably by design and raises the topic in question.
> Am curious to see the opinions of people who know.
I believe that python is buffer overflow proof. In fact, I think that
even ctypes is overflow proof...
More information about the Python-list