Skip to content
Snippets Groups Projects
Commit 5ffe1d8d authored by Damien George's avatar Damien George
Browse files

py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory.

There can be stray pointers in memory blocks that are not properly zero'd
after allocation.  This patch adds a new config option to always zero all
allocated memory (via gc_alloc and gc_realloc) and hence help to eliminate
stray pointers.

See issue #2195.
parent d29ca282
Branches
Tags
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment