mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-06 12:25:11 -04:00
Treat empty booleans in XML as false
This commit is contained in:
parent
99036ec151
commit
07dafd697e
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue