Author georg.brandl
Recipients Alexander.Belopolsky, SilentGhost, Trundle, belopolsky, georg.brandl, l0nwlf, ned.deily, sandro.tosi, vstinner, wsanchez
Date 2011-01-02.23:01:15
SpamBayes Score 2.7188e-07
Marked as misclassified No
Message-id <1294009282.92.0.714851448688.issue8013@psf.upfronthosting.co.za>
In-reply-to
Content
In that case however, it's equally unsafe to not replace a \n, but still use PyUnicode_FromString() without a size given -- you will read from random memory.

Since all implementations we have or can test have a defined behavior in one way or the other, I think an example of an implementation that exhibits such undefined behavior is required first.
History
Date User Action Args
2011-01-02 23:01:23georg.brandlsetrecipients: + georg.brandl, belopolsky, wsanchez, vstinner, ned.deily, Trundle, SilentGhost, sandro.tosi, Alexander.Belopolsky, l0nwlf
2011-01-02 23:01:22georg.brandlsetmessageid: <1294009282.92.0.714851448688.issue8013@psf.upfronthosting.co.za>
2011-01-02 23:01:16georg.brandllinkissue8013 messages
2011-01-02 23:01:16georg.brandlcreate