pull up r19038 from trunk
authorTom Yu <tlyu@mit.edu>
Thu, 29 Mar 2007 21:36:12 +0000 (21:36 +0000)
committerTom Yu <tlyu@mit.edu>
Thu, 29 Mar 2007 21:36:12 +0000 (21:36 +0000)
commit8931dec78b2e258f0702250eb17f148cb514c8a5
tree0f33eb829f7dd8c254460e5fc1a6ee492cbea2b0
parent16e3f98a766bed7f0f492cc58b3b0c31a95c9e47
pull up r19038 from trunk

 r19038@cathode-dark-space:  raeburn | 2007-01-08 17:41:01 -0500
 ticket: new
 subject: crash creating db2 database in non-existent directory

 * kdb_db2.c (krb5_db2_db_create): If the creation of the first database file
 fails, return the error, instead of attempting to create the second (and using
 a null pointer as an input string in formatting a filename).

 Reported by Jeff Blaine.

ticket: 5293
version_fixed: 1.6.1

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