File corruption with KSaveFile on full disk

Michael Leupold lemma at confuego.org
Sat Jan 17 20:53:18 GMT 2009


Hi,

I received a bugreport about someone loosing his wallet today. Basically a 
process filled his disk while the wallet was open. On closing it something 
went terribly wrong and he ended up with a kdewallet.kwl with size 0.

I'm pretty much stuck because I couldn't reproduce myself but I assumed this 
couldn't happen as kwalletd's backend uses KSaveFile to make sure either the 
whole wallet gets saved or nothing. As KSaveFile seems to be currently 
unmaintained I hope someone of you knows if it's supposed to handle full disk 
and if there's a corner case where this might indeed lead to corruption.

The bugreport is: http://bugs.kde.org/show_bug.cgi?id=181059

Thanks and regards,
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090117/bcd15c8f/attachment.sig>


More information about the kde-core-devel mailing list