[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: secret strings

From: Stefan Monnier
Subject: Re: secret strings
Date: Fri, 01 Apr 2011 10:59:20 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> I don't think that's the same thing.  We want to pass the
> producer-generated data around and wipe it when the garbage collection
> deallocates the memory.  But maybe I misunderstand something.

I don't think that's what you want: work done by finalizers should never
be significant (e.g. it's a bad idea to use finalizers to close
file-handles, or to wipe sensitive data).  If you want to wipe that
data, then do it explicitly with `clear-string', since the GC might
never collect it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]