Branch: Tag:

2018-01-18

2018-01-18 16:50:43 by Martin Nilsson <nilsson@fastmail.com>

Rescue fast memory clear from old Per project.

1071:    if (!(s->flags & STRING_NOT_SHARED))    unlink_pike_string(s);    if (s->flags & STRING_CLEAR_ON_EXIT) -  guaranteed_memset(s->str, 0, s->len<<s->size_shift); +  secure_zero(s->str, s->len<<s->size_shift);    free_unlinked_pike_string(s);    GC_FREE_SIMPLE_BLOCK(s);   }