in reply to making perl more forgetting
Is there any workaround to this except me writing another XS module providingI don't think so, and even if you're going to write C, it may be harder to than you think. Compiler might eliminate code whose effect isn't going to be seen. A year or two ago I read an article about someone who had a simalar problem as yours - but then in C. He had sensitive information in a string, and after using it, he "cleared" the content by assigning to it another string of appropriate length. However, the compiler had noticed that after the assignment, the memory wouldn't be accessed anymore - so it just optimized the assignment away.
C is probably your best option though, just make sure the compiler doesn't outsmart you.
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: making perl more forgetting
by dragonchild (Archbishop) on May 17, 2004 at 12:26 UTC | |
by Abigail-II (Bishop) on May 17, 2004 at 13:13 UTC |