Is python buffer overflow proof?

Tim Chase python.list at tim.thechases.com
Tue Aug 4 08:27:27 EDT 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++.

-tkc





More information about the Python-list mailing list