diff options
| author | Matthew Hancher <mdh@mit.edu> | 1998-07-09 23:42:03 +0000 |
|---|---|---|
| committer | Matthew Hancher <mdh@mit.edu> | 1998-07-09 23:42:03 +0000 |
| commit | e6cdc7486d7448e14227db1fd928ec61ce545069 (patch) | |
| tree | 5b238f9a9679de401eb4ef45881bd881378e9d94 /src/include | |
| parent | a011299377c92f3061a1e465f08023c8b203431a (diff) | |
| download | krb5-e6cdc7486d7448e14227db1fd928ec61ce545069.tar.gz krb5-e6cdc7486d7448e14227db1fd928ec61ce545069.tar.xz krb5-e6cdc7486d7448e14227db1fd928ec61ce545069.zip | |
Thu Jul 9 19:35:01 1998 Matthew D Hancher <mdh@mit.edu>
* tf_util.c (tf_init): Fixed a potential race condition in the opening
of v4 ticket files. tf_init() was calling lstat() followed by fopen().
Now it calls fopen() and then calls lstat() and fstat() to check file
ownership and to check that it opened the file it thought it did. I
patched the shared memory code similarly, but since nothing uses it I
don't have a good way to test it properly.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10629 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions
