f python?

Ian Kelly ian.g.kelly at gmail.com
Sun Apr 8 18:32:22 EDT 2012


On Sun, Apr 8, 2012 at 11:32 AM, Peter J. Holzer <hjp-usenet2 at hjp.at> wrote:
> Poul-Henning Kamp nominated the C/Unix guys:
>
> http://queue.acm.org/detail.cfm?id=2010365

Besides what Kaz and Chris wrote, the suggestion that if they had
chosen ptr+len format then we wouldn't have buffer overflows is
erroneous.  There's a difference between a string and a string buffer,
and the metadata records the length of the string, not the size of the
buffer, and so the gets function in that parallel universe would be
just as broken as the one in ours.



More information about the Python-list mailing list