-
Georg Brandl yazdı
SF bug 1185883: PyObject_Realloc can't safely take over a block currently managed by C, because it's possible for the block to be smaller than the new requested size, and at the end of allocated VM. Trying to copy over nbytes bytes to a Python small-object block can segfault then, and there's no portable way to avoid this (we would have to know how many bytes starting at p are addressable, and std C has no means to determine that).
b3d58718