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 jwilk
Recipients jwilk
Date 2014-10-10.19:18:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
If you initialize array with another empty array, then this code runs:

    memcpy(self->ob_item, other->ob_item, len * other->ob_descr->itemsize);

But self->ob_item and other->ob_item are NULL in such case.
Passing null pointer to memcpy() is undefined behavior even when length is 0.
Date User Action Args
2014-10-10 19:18:23jwilksetrecipients: + jwilk
2014-10-10 19:18:23jwilksetmessageid: <>
2014-10-10 19:18:23jwilklinkissue22605 messages
2014-10-10 19:18:23jwilkcreate