summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2012-03-01 20:49:17 +0000
committerGreg Hudson <ghudson@mit.edu>2012-03-01 20:49:17 +0000
commit4df31be8282f744201814493ebe0dbe92bcb8bcd (patch)
tree93a0c3257d79f687c4b17ae5f4a728f20864e508 /src/include
parent4918001d76f26cbf663fbc362f7deb0365d99767 (diff)
downloadkrb5-4df31be8282f744201814493ebe0dbe92bcb8bcd.tar.gz
krb5-4df31be8282f744201814493ebe0dbe92bcb8bcd.tar.xz
krb5-4df31be8282f744201814493ebe0dbe92bcb8bcd.zip
Fix KDB iteration when callback does write calls
kdb_db2's ctx_iterate makes an convenience alias to dbc->db in order to call more invoke call the DB's seq method. This alias may become invalidated if the callback writes to the DB, since ctx_lock() may re-open the DB in order to acquire a write lock. Fix the bug by getting rid of the convenience alias. Most KDB iteration operations in the code base do not write to the DB, but kdb5_util update_princ_encryption does. Bug discovered and diagnosed by will.fiveash@oracle.com. ticket: 7096 target_version: 1.10.1 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25723 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions