_PyObject_DebugMalloc(): The return value should add
2*sizeof(size_t) now, not 8. This probably accounts for current disasters on the 64-bit buildbot slaves.
This commit is contained in:
parent
9ea89d2a19
commit
3eeb17346c
|
@ -1337,7 +1337,7 @@ _PyObject_DebugMalloc(size_t nbytes)
|
||||||
memset(tail, FORBIDDENBYTE, SST);
|
memset(tail, FORBIDDENBYTE, SST);
|
||||||
write_size_t(tail + SST, serialno);
|
write_size_t(tail + SST, serialno);
|
||||||
|
|
||||||
return p+8;
|
return p + 2*SST;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* The debug free first checks the 2*SST bytes on each end for sanity (in
|
/* The debug free first checks the 2*SST bytes on each end for sanity (in
|
||||||
|
|
Loading…
Reference in New Issue