Author akuchling
Recipients BreamoreBoy, akuchling, damiro, eryksun, pitrou, steve.dower, tim.golden, tim.peters, vstinner, zach.ware
Date 2015-04-13.20:25:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1428956723.18.0.969858814241.issue19050@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a patch that adds the necessary _PyVerify_fd checking for 3.4. It won't apply to 2.7 (too many changes between 2.7 and 3.4), and applies to 3.5 but does nothing because of the new Invalid Parameter Handler introduced into 3.5.

It doesn't fix the problem completely: there is then a new crash in sysmodule.c/sys_write().

Unfortunately I didn't manage to write a test that replicates this whole issue and fails if Python crashes.
History
Date User Action Args
2015-04-13 20:25:23akuchlingsetrecipients: + akuchling, tim.peters, pitrou, vstinner, tim.golden, damiro, BreamoreBoy, zach.ware, eryksun, steve.dower
2015-04-13 20:25:23akuchlingsetmessageid: <1428956723.18.0.969858814241.issue19050@psf.upfronthosting.co.za>
2015-04-13 20:25:23akuchlinglinkissue19050 messages
2015-04-13 20:25:23akuchlingcreate