KWalletd crashing on cvs head

Zack Rusin zack at kde.org
Sat Nov 27 17:05:21 GMT 2004


On Saturday 27 November 2004 12:16, Richard Smith wrote:
> On Saturday 27 November 2004 16:55, Zack Rusin wrote:
> > On Saturday 27 November 2004 08:16, Richard Smith wrote:
> > > The attached patch to kpassdlg.cpp fixes this. OK to commit?
> >
> > How come the strengthbar is never initialized in this one?
>
> If you mean, how come the strengthbar never used to be initialised
> (which my patch fixes), I guess whoever wrote the original code just
> didn't think of it. And then didn't test the dialog in
> non-NewPassword mode.

Well, that person should be shot, cut and stabbed, not necessarily in 
that order, but that's a different matter. 
My question was "how come the strengthbar is a null object in slotOK"?. 
IIRC all code paths of NewPassword lead through init which sets the 
strengthbar correctly, so how come it's null in slotOK?

Zack

-- 
C.O.B.O.L - Completely Obsolete Boring Old Language.




More information about the kde-core-devel mailing list