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 <>
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.
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: <>
2015-04-13 20:25:23akuchlinglinkissue19050 messages
2015-04-13 20:25:23akuchlingcreate