Is python buffer overflow proof?

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Aug 4 10:48:15 CEST 2009


En Tue, 04 Aug 2009 02:06:06 -0300, John Nagle <nagle at animats.com>  
escribió:
> Gabriel Genellina wrote:
>> En Mon, 03 Aug 2009 18:04:53 -0300, sturlamolden  
>> <sturlamolden at yahoo.no> escribió:
>>
>>> On 2 Aug, 15:50, Jizzai <jiz... at gmail.com> 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.

>     A more useful question is whether the standard libraries are being
> run through any of the commercial static checkers for possible buffer
> overflows.

In the past the Python source code was checked with valgrind and some  
coverity tools; I don't know the current status.

-- 
Gabriel Genellina




More information about the Python-list mailing list