https://bugs.kde.org/show_bug.cgi?id=403720
--- Comment #3 from Valerii Malov ---
Git commit eb68430ae5f4fc4c4a2e5b1798683ff6a639ad3d by Valerii Malov.
Committed on 13/03/2019 at 21:50.
Pushed by valeriymalov into branch 'master'.
Baloo engine: treat every non-success code as a failure
Summary:
Treating only MDB_NOTFOUND as an error leads to use of uninitliazed
pointers and handle IDs in other cases (e.g. when get fails with
MDB_BAD_TXN) and wreaks havoc in the application.
Related: bug 361186, bug 390823, bug 372880, bug 395888, bug 367480
Reviewers: #baloo, bruns, poboiko
Reviewed By: #baloo, bruns
Subscribers: cullmann, ngraham, bruns, kde-frameworks-devel, #baloo
Tags: #frameworks, #baloo
Differential Revision: https://phabricator.kde.org/D18664
M +12 -9src/engine/database.cpp
M +26 -17 src/engine/documentdatadb.cpp
M +30 -22 src/engine/documentdb.cpp
M +30 -22 src/engine/documentiddb.cpp
M +25 -16 src/engine/documenttimedb.cpp
M +0-1src/engine/documenturldb.cpp
M +4-3src/engine/documenturldb.h
M +4-5src/engine/fsutils.cpp
M +28 -15 src/engine/idfilenamedb.cpp
M +22 -13 src/engine/idtreedb.cpp
M +37 -29 src/engine/mtimedb.cpp
M +0-2src/engine/phraseanditerator.cpp
M +24 -19 src/engine/positiondb.cpp
M +31 -27 src/engine/postingdb.cpp
M +47 -13 src/engine/transaction.cpp
M +4-4src/engine/transaction.h
M +3-2src/file/extractorprocess.cpp
M +5-5src/file/fileindexscheduler.cpp
M +5-4src/file/indexcleaner.cpp
M +0-1src/file/main.cpp
M +1-1src/file/metadatamover.cpp
https://commits.kde.org/baloo/eb68430ae5f4fc4c4a2e5b1798683ff6a639ad3d
--
You are receiving this mail because:
You are watching all bug changes.