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[9] 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.
TIA.
I believe that python is buffer overflow proof. In fact, I think that
even ctypes is overflow proof...
Marcus
--
http://mail.python.org/mailman/listinfo/python-list