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. CCBUG: 361186 CCBUG: 390823 CCBUG: 372880 CCBUG: 395888 CCBUG: 367480 CCBUG: 403720 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
parent
f2d14fff
Please register or sign in to comment