[1460] in Kerberos-V5-bugs
Re: Kerberos 5-B4-pl3 bug report (lib/krb5/ccache/file/fcc_init.c)
daemon@ATHENA.MIT.EDU (Theodore Ts'o)
Fri Jun 9 23:58:30 1995
Date: Fri, 9 Jun 1995 23:58:18 +0500
From: Theodore Ts'o <tytso@MIT.EDU>
To: Craig Leres <leres@ee.lbl.gov>
Cc: krb5-bugs@MIT.EDU, hobbit@asylum.sf.ca.us, mike@fionn.lbl.gov
In-Reply-To: Craig Leres's message of Fri, 02 Jun 95 20:47:57 PDT,
<199506030347.UAA14523@ren.ee.lbl.gov>
ret = fchmod(((krb5_fcc_data *) id->data)->fd, S_IREAD | S_IWRITE);
#endif
if (ret == -1) {
! status = krb5_fcc_interpret(errno);
! MAYBE_CLOSE(id, status);
! return status;
}
! status = krb5_fcc_store_principal(id, princ);
! if (status != 0) <---------
! MAYBE_CLOSE(id, status); <---------
! MAYBE_CLOSE(id, status);
! return status;
}
Thanks for the patch, although I think there's a bug in your suggested
change. The two lines I've marked should be deleted.....
- Ted