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 serhiy.storchaka
Recipients serhiy.storchaka, tkrasnukha
Date 2018-08-25.06:46:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1535179599.79.0.56676864532.issue34495@psf.upfronthosting.co.za>
In-reply-to
Content
object_new and object_init should not be called with args == NULL. This looks like a bug in the user code.

Even without assert(PyTuple_Check(args)) in PyTuple_GET_SIZE it dereferences the NULL pointer if args == NULL.

Unless there is a code in CPython implementation itself which calls object_new and object_init with args == NULL this issue will be closed as not a bug.
History
Date User Action Args
2018-08-25 06:46:39serhiy.storchakasetrecipients: + serhiy.storchaka, tkrasnukha
2018-08-25 06:46:39serhiy.storchakasetmessageid: <1535179599.79.0.56676864532.issue34495@psf.upfronthosting.co.za>
2018-08-25 06:46:39serhiy.storchakalinkissue34495 messages
2018-08-25 06:46:39serhiy.storchakacreate