Merge pull request #425 from hifi/empty-bools

Treat empty booleans in XML as false
This commit is contained in:
TheZ3ro 2017-03-23 11:06:48 +01:00 committed by GitHub
commit 26bc2a8c3e

View File

@ -1037,6 +1037,9 @@ bool KeePass2XmlReader::readBool()
else if (str.compare("False", Qt::CaseInsensitive) == 0) {
return false;
}
else if (str.length() == 0) {
return false;
}
else {
raiseError("Invalid bool value");
return false;