]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix policy DB fallback error handling 1280/head
authorGreg Hudson <ghudson@mit.edu>
Mon, 12 Dec 2022 19:36:47 +0000 (14:36 -0500)
committerGreg Hudson <ghudson@mit.edu>
Wed, 4 Jan 2023 18:52:02 +0000 (13:52 -0500)
commit650fe8423a47c52b4b347b47cb41259e04e90092
tree91fb27034b70394ed620549b91e89763ab8a25d5
parentd0ea8de883a2487dfde8bfa377b64df1194ed5cb
Fix policy DB fallback error handling

In osa_adb_open_and_lock(), if the btree dbopen() call returns EINVAL
or EFTYPE and the fallback hash dbopen() call also returns an error,
release the lock and return an error instead of returning success with
a null database.

ticket: 9082 (new)
src/plugins/kdb/db2/adb_openclose.c