Message229023
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:23 | jwilk | set | recipients:
+ jwilk |
2014-10-10 19:18:23 | jwilk | set | messageid: <1412968703.77.0.12128732374.issue22605@psf.upfronthosting.co.za> |
2014-10-10 19:18:23 | jwilk | link | issue22605 messages |
2014-10-10 19:18:23 | jwilk | create | |
|