Summary: | poorly handled index.xml data corruption | ||
---|---|---|---|
Product: | [Applications] kphotoalbum | Reporter: | Josef <lists> |
Component: | XML backend | Assignee: | KPhotoAlbum Bugs <kpabugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 4.1.1 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Josef
2012-03-01 21:24:22 UTC
The corrupt file was too large to upload, so here is a link (~10 MB): http://josf.se/kphotoalbum-corrupt-file/index.xml Git commit 375ffdde59ee4a6e73fd25e2d5519c8a8eac9001 by Miika Turkia. Committed on 03/03/2012 at 19:41. Pushed by mturkia into branch 'master'. Offering to recover from backup if index corrupted If index.xml is corrupted we check if a backup exists. Then we ask the user if he would like to use the backup. M +17 -8 Utilities/Util.cpp M +1 -1 Utilities/Util.h M +7 -2 XMLDB/FileReader.cpp http://commits.kde.org/kphotoalbum/375ffdde59ee4a6e73fd25e2d5519c8a8eac9001 |