KPasswordEdit patch (was Re: new widgets...)
malte at kde.org
Sat Sep 28 21:49:10 BST 2002
On Friday 27 September 2002 10:50, Neil Stevens wrote:
> Grr.. that's not what I meant to convey. I agree the mlock is worthless.
> I think the const char * is just as worthless.
> I'm talking about making optional the use of a clunky, inconvenient const
> char *, when a QString is no less safe for nearly all of KDE's users.
Having used the STL excessively in the past few weeks I have to say the real
fix would be to extend QString so that one can use a custom allocator like
with std::string. Then this custom allocator could care for wiping the memory
used for the password without losing the power of QString...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
More information about the kde-core-devel