Author socketpair
Recipients Arfrever, giampaolo.rodola, socketpair
Date 2011-03-05.05:00:45
SpamBayes Score 9.73004e-06
Marked as misclassified No
Message-id <1299301245.95.0.29277596691.issue11259@psf.upfronthosting.co.za>
In-reply-to
Content
> I've never used negative terminators in asynchat and I'm not even sure why one would want to. 
no one wants :), but terminator numeric value may be achieved from the net, and hackers sometimes use such technique.

attached shorttest.py do the test. If negative terminator is passed, ValueError exception will raise on patched version, and will not raise in unpatched.

Currently, I studying test system for python, but I think you will add such simple test faster and cleaner.
History
Date User Action Args
2011-03-05 05:00:46socketpairsetrecipients: + socketpair, giampaolo.rodola, Arfrever
2011-03-05 05:00:45socketpairsetmessageid: <1299301245.95.0.29277596691.issue11259@psf.upfronthosting.co.za>
2011-03-05 05:00:45socketpairlinkissue11259 messages
2011-03-05 05:00:45socketpaircreate