commit | 3cc4c53a64bdcf21431ad306eca0e568f88735a2 | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Tue Nov 07 12:46:42 2017 +0200 |
committer | GitHub <noreply@github.com> | Tue Nov 07 12:46:42 2017 +0200 |
tree | 27e380b29f35d9984217058d2c3dd6be46622c17 | |
parent | cb04f7518292108d68e5ba4c685ca2bf2da18eab [diff] |
bpo-31626: Mark ends of the reallocated block in debug build. (#4210) Few bytes at the begin and at the end of the reallocated blocks, as well as the header and the trailer, now are erased before calling realloc() in debug build. This will help to detect using or double freeing the reallocated block.