mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 11:34:38 +03:00
improved security by encoding NULL values; double free mitigation on by default; more precise free list corruption detection
This commit is contained in:
parent
1674d551ff
commit
74dbfc30be
6 changed files with 49 additions and 36 deletions
|
@ -15,9 +15,9 @@ int main() {
|
|||
mi_version();
|
||||
|
||||
// detect double frees and heap corruption
|
||||
//double_free1();
|
||||
//double_free2();
|
||||
//corrupt_free();
|
||||
// double_free1();
|
||||
// double_free2();
|
||||
// corrupt_free();
|
||||
|
||||
void* p1 = malloc(78);
|
||||
void* p2 = malloc(24);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue