[krbdev.mit.edu #6342] SVN Commit

Ken Raeburn via RT rt-comment at krbdev.mit.edu
Fri Jan 23 13:04:14 EST 2009


The hash db code assumes in places that the block size is no larger
than 64K.  There's a range check in the case where you don't have a
file but provide initialization info.  The btree code will cap the
block size used at 64K.

Apparently Sun's ZFS can report back a block size of 128K, causing the
db2 tests to fail.

Add such a cap to the hash db creation code.

Note that our default configuration is to use the btree code when
creating a new database, so it's unlikely that this will cause
real-world problems unless someone went out of their way to specify
use of the hash format.

http://src.mit.edu/fisheye/changelog/krb5/?cs=21786
Commit By: raeburn
Revision: 21786
Changed Files:
U   trunk/src/plugins/kdb/db2/libdb2/hash/hash.c




More information about the krb5-bugs mailing list