buffer overflow

David Eppstein eppstein at ics.uci.edu
Fri Jan 17 14:30:40 EST 2003


In article <v2ggvghqpt2de8 at corp.supernews.com>,
 "Tim H" <tim at frontier.net.nospam> wrote:

> > Chances are high it will die with a segfault before going around the loop
> 20
> > times, because the buffer object created by buffer() can be left pointing
> at
> > freed memory by the array object guts getting reallocated, and then
> list(b)
> > ends up reading God-only-knows-what from the stale buffer object.  Some of
> > the smarest people I know have refused to fix this <wink>.
> >
> >
> 
> Hmmm, a Win2k box got to 14, while Linux got to where I got bored and
> CTRL-C'ed it.  Does this mean Linux can count higher than Windows?

The Mac OS X.2 preloaded command-line python also bored me into ^C'ing 
before any sign of a crash.

-- 
David Eppstein       UC Irvine Dept. of Information & Computer Science
eppstein at ics.uci.edu http://www.ics.uci.edu/~eppstein/




More information about the Python-list mailing list