KPasswordEdit patch (was Re: new widgets...)

Malte Starostik 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...

-Malte
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20020928/17b30a06/attachment.sig>


More information about the kde-core-devel mailing list