From kde-core-devel Sat Jan 17 20:53:18 2009 From: Michael Leupold Date: Sat, 17 Jan 2009 20:53:18 +0000 To: kde-core-devel Subject: File corruption with KSaveFile on full disk Message-Id: <200901172153.21449.lemma () confuego ! org> X-MARC-Message: https://marc.info/?l=kde-core-devel&m=123222571717123 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--nextPart2885349.kjBC6ixA8c" --nextPart2885349.kjBC6ixA8c Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I received a bugreport about someone loosing his wallet today. Basically a= =20 process filled his disk while the wallet was open. On closing it something= =20 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 thi= s=20 couldn't happen as kwalletd's backend uses KSaveFile to make sure either th= e=20 whole wallet gets saved or nothing. As KSaveFile seems to be currently=20 unmaintained I hope someone of you knows if it's supposed to handle full di= sk=20 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=3D181059 Thanks and regards, Michael --nextPart2885349.kjBC6ixA8c Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQBJckVBlfpzINIAlVsRAnnVAKCYsJFgatsXGTGzt3ZAmO24iXXrfACdHXST 85o9JFl/UvrboDCIDwW9LCU= =qM0/ -----END PGP SIGNATURE----- --nextPart2885349.kjBC6ixA8c--