Closed droidmonkey closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 63.71%. Comparing base (
740994e
) to head (2f80b16
). Report is 19 commits behind head on develop.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
🚨 Try these New Features:
Found this while testing this: https://github.com/keepassxreboot/keepassxc/issues/11352
Also found the following when debugging with ASAN enabled. Can you verify this happens to you too?
1) Edit entry, modify the note. 2) Press Apply and then OK. 3) Save the database -> ASAN hits a breakpoint. 4) If doing the same without Apply, everything is ok.
ASAN shows:
error: <user expression 1>:1:1: use of undeclared identifier 'username' 1 | username.d | ^
lldb) thread info -s
thread #7: tid = 0x2239c, 0x0000000106c65060 libclang_rt.asan_osx_dynamic.dylib`__asan::AsanDie(), name = 'Thread (pooled)', stop reason = Invalid memory access
{
"access_size": 32,
"access_type": 1,
"address": 4387995934,
"description": "unknown-crash",
"instrumentation_class": "AddressSanitizer",
"pc": 4408505784,
"stop_type": "fatal_error"
}
And the call stack:
__asan::AsanDie() 0x0000000106c65060
SymmetricCipher::finish(QByteArray &) SymmetricCipher.cpp:115
SymmetricCipherStream::writeBlock(bool) SymmetricCipherStream.cpp:209
SymmetricCipherStream::reset() SymmetricCipherStream.cpp:69
Kdbx4Writer::writeDatabase(QIODevice *, Database *) Kdbx4Writer.cpp:177
KeePass2Writer::writeDatabase(QIODevice *, Database *) KeePass2Writer.cpp:140
Database::writeDatabase(QIODevice *, QString *) Database.cpp:419
Database::performSave(const QString &, Database::SaveAction, const QString &, QString *) Database.cpp:329
$_6::operator()() const Database.cpp:292
If that was an issue it should come up in our CI tests which all run ASAN
Related to discussion in #11345
Testing strategy
Tested manually
Type of change