[Interest] QLineEdit - clearing the password from memory
Konstantin Tokarev
annulen at yandex.ru
Wed Apr 4 12:48:43 CEST 2012
04.04.2012, 14:24, "Marcus Frenkel" <marcus.frenkel at gmail.com>:
> Hi
>
> I need to make sure that the password is not kept in memory when
> QLineEdit is destroyed. I tried to use QLineEdit::clear() or
> QLineEdit::setText() but the password string stays in memory. I
> basically want to zeroise the private member string that holds the
> text, I believe QLineEditPrivate::text is the one. How can I access
> this member without changing Qt sources?
Write your own widget.
--
Regards,
Konstantin
More information about the Interest
mailing list