Skip Menu |
 

From: epeisach@mit.edu
Subject: SVN Commit
If there is an error in opening the replay cache - memory is freed, but
close() is invoked with -1 (failure from open()). While technically,
close() will return EBADF in such a case, and nothing bad will happen,
valgrind picks up on this and provides an error...


Commit By: epeisach



Revision: 18961
Changed Files:
U trunk/src/lib/krb5/rcache/rc_io.c
From: tlyu@mit.edu
Subject: SVN Commit
pull up r18961 from trunk

r18961@cathode-dark-space: epeisach | 2006-12-18 06:26:59 -0500
ticket: new
subject: krb5_rc_io_open_internal on error will call close(-1)

If there is an error in opening the replay cache - memory is freed, but
close() is invoked with -1 (failure from open()). While technically,
close() will return EBADF in such a case, and nothing bad will happen,
valgrind picks up on this and provides an error...




Commit By: tlyu



Revision: 18966
Changed Files:
_U branches/krb5-1-6/
U branches/krb5-1-6/src/lib/krb5/rcache/rc_io.c