summaryrefslogtreecommitdiffstatshomepage
path: root/py/vstr.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-08-26 15:35:26 +1000
committerDamien George <damien.p.george@gmail.com>2016-08-26 15:35:26 +1000
commit5ffe1d8dc07930818bbac6a88bec2aa5bd973402 (patch)
tree8832549d203085db88cb72d8abb6fea1c6d57d59 /py/vstr.c
parentd29ca28288581ca788e468528ea1680b99eb49e5 (diff)
downloadmicropython-5ffe1d8dc07930818bbac6a88bec2aa5bd973402.tar.gz
micropython-5ffe1d8dc07930818bbac6a88bec2aa5bd973402.zip
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.
Diffstat (limited to 'py/vstr.c')
0 files changed, 0 insertions, 0 deletions