In krb5_ktfileint_write_entry, add a no-op fseek in between reading
authorGreg Hudson <ghudson@mit.edu>
Sat, 23 May 2009 00:09:58 +0000 (00:09 +0000)
committerGreg Hudson <ghudson@mit.edu>
Sat, 23 May 2009 00:09:58 +0000 (00:09 +0000)
commit694081fabc4d7133adb741264f0a6a8d8a37d0eb
tree1cb0810e6b04df77943ac1adb3b53defa7134876
parent7c59287273bfb50559bf4541dd981d877dd2ce35
In krb5_ktfileint_write_entry, add a no-op fseek in between reading
EOF and writing the placeholder length field.  Otherwise we can run
into an apparent bug in the Solaris 10 stdio library which causes the
next no-op fseek after the fwrite to fail with EINVAL.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22367 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/keytab/kt_file.c