Is python buffer overflow proof?

Tim Chase python.list at
Tue Aug 4 14:27:27 CEST 2009

Marcus Wanner wrote:
> On 8/3/2009 3:45 AM, Diez B. Roggisch wrote:
>> But you can cast the resulting pointer to an array of larger size, and 
>> there you are.
> Ah, that makes sense. I had forgotten about ctypes.cast().

You *can* shoot yourself in the foot with Python, you just have 
to aim much more carefully than you do with C/C++.


More information about the Python-list mailing list