mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-10-14 14:31:03 -04:00
Check XML key file for valid base64 before using it.
QByteArray::fromBase64() doesn't validate the input. Closes #366
This commit is contained in:
parent
820941fd40
commit
2fa531745f
6 changed files with 25 additions and 1 deletions
|
@ -35,6 +35,7 @@ bool readAllFromDevice(QIODevice* device, QByteArray& data);
|
|||
QDateTime currentDateTimeUtc();
|
||||
QString imageReaderFilter();
|
||||
bool isHex(const QByteArray& ba);
|
||||
bool isBase64(const QByteArray& ba);
|
||||
void sleep(int ms);
|
||||
void wait(int ms);
|
||||
QString platform();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue