anathema/anathema — Issue #68: Possible corruption of character save file
Author: kelemen
Created: 2012-02-15 19:50:03+00:00
State: open

If there is character save file in the repository, where the repositoryId attribute of the root tag does not match the filename: It becomes impossible to load any character (not just the corrupt one) due to a NullPointerException being thrown.

This is not that much of an issue because Anathema creates valid save files. However it would be possible if #67 is implemented because if a filename encoding error occures somewhere in the process of copying the file, the bug would trigger. Also if an export/import character save file is ever gets implemented, it would be even more dangerous because that would allow very inexperienced users to trigger this bug and they may not know what to do in this case.