]> git.ipfire.org Git - thirdparty/krb5.git/commit
Avoid byte-swap cache corruption in libdb2 527/head
authorTom Yu <tlyu@mit.edu>
Thu, 25 Aug 2016 22:02:56 +0000 (18:02 -0400)
committerTom Yu <tlyu@mit.edu>
Mon, 29 Aug 2016 19:46:29 +0000 (15:46 -0400)
commit56d02135d4c77b6aa0cb7136477d426248c60a6f
tree9ddd3fb8319e7e5a48673f7a49eccd0b0f39bcfc
parentaf3e7a4ac8b49ae8047ae2be7070d32feb69217d
Avoid byte-swap cache corruption in libdb2

Apply a patch from NetBSD to restore the cached copy of a page to the
machine byte order after a write operation swapped it to the file byte
order.  As a regression test, modify test13 to sync the database file
after each put to exercise this bug.

ticket: 8483 (new)
target_version: 1.14-next
target_version: 1.13-next
tags: pullup
src/plugins/kdb/db2/libdb2/mpool/mpool.c
src/plugins/kdb/db2/libdb2/test/run.test