This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author chris.jerdonek
Recipients benjamin.peterson, chris.jerdonek, ezio.melotti, inglesp, serhiy.storchaka
Date 2012-09-28.17:04:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1348851887.04.0.271211851217.issue16055@psf.upfronthosting.co.za>
In-reply-to
Content
Benjamin, unless I'm overlooking something, long_new() does its own check of the base argument before calling PyLong_FromString():

http://hg.python.org/cpython/file/default/Objects/longobject.c#l4251

So long_new() won't let you pass a bad base to PyLong_FromString() (which is one of the code paths to be checked).
History
Date User Action Args
2012-09-28 17:04:47chris.jerdoneksetrecipients: + chris.jerdonek, benjamin.peterson, ezio.melotti, inglesp, serhiy.storchaka
2012-09-28 17:04:47chris.jerdoneksetmessageid: <1348851887.04.0.271211851217.issue16055@psf.upfronthosting.co.za>
2012-09-28 17:04:47chris.jerdoneklinkissue16055 messages
2012-09-28 17:04:46chris.jerdonekcreate