[krbdev.mit.edu #8483] git commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Fri Sep 9 14:48:24 EDT 2016


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.

(cherry picked from commit 56d02135d4c77b6aa0cb7136477d426248c60a6f)

https://github.com/krb5/krb5/commit/bf8ccad8f2fd6d1ea90d1bd16de117f800ce3730
Author: Tom Yu <tlyu at mit.edu>
Commit: bf8ccad8f2fd6d1ea90d1bd16de117f800ce3730
Branch: krb5-1.13
 src/plugins/kdb/db2/libdb2/mpool/mpool.c |    8 ++++++++
 src/plugins/kdb/db2/libdb2/test/run.test |    1 +
 2 files changed, 9 insertions(+), 0 deletions(-)



More information about the krb5-bugs mailing list