Apply ported patch
authorTom Yu <tlyu@mit.edu>
Wed, 1 Dec 2010 20:49:06 +0000 (20:49 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 1 Dec 2010 20:49:06 +0000 (20:49 +0000)
commit7bd614f7b3a11e67a21e01049116354c29853de6
tree25298290a988fead8ffe5458a541753660874d71
parent72aea6d91dfd1d522d109ebb41dac3e0621bdb5d
Apply ported patch

 If kdb5_util load (without -update) fails--say, due to an invalid dump
 file--it calls krb5_db_destroy to destroy the temporary DB.
 Unfortunately, this results in the destruction of the real DB instead.

 Luckily, this bug only applies to krb5 1.9, which hasn't been released
 yet.  In krb5 1.8 the destroy operation fails before it does any damage.

ticket: 6815
version_fixed: 1.9

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-9@24548 dc483132-0cff-0310-8789-dd5450dbe970
src/plugins/kdb/db2/kdb_db2.c