mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-01-15 09:17:28 -05:00
Treat empty booleans in XML as false
This commit is contained in:
parent
99036ec151
commit
07dafd697e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user