On Sun, Apr 8, 2012 at 11:32 AM, Peter J. Holzer <hjp-usen...@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.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to