Re: Erasing strings from memory?
Rich Salz <[email protected]>
| Newsgroups | gmane.comp.python.cryptography |
|---|---|
| Message-ID | <[email protected]> |
> Be careful with this: Python strings are immutable and some
> are shared. The code you gave below can result in a
> completely broken Python interpreter.
Good point. Check that refcount==1 before actual memset.
/r$