Also check resturn status of lseek.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7481
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Feb 15 14:55:56 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * fcc_skip.c (krb5_fcc_skip_header): If version is not FVNO_4, do not
+ seek forward a random stack value.
+
Thu Feb 1 15:45:23 1996 Sam Hartman <hartmans@tertius.mit.edu>
* fcc_retrv.c (ktype_reasonable): removed.
- (krb5_fcc_retrieve): Accept any enctype unless specific enctype is being matched.
+ (krb5_fcc_retrieve): Accept any enctype unless specific enctype is
+ being matched.
Wed Jan 24 21:36:34 1996 Sam Hartman <hartmans@tertius.mit.edu>
if (data->version == KRB5_FCC_FVNO_4) {
kret = krb5_fcc_read_ui_2(context, id, &fcc_flen);
if (kret) return kret;
+ if(lseek(data->fd, fcc_flen, SEEK_CUR) < 0)
+ return errno;
}
- lseek(data->fd, fcc_flen, SEEK_CUR);
return KRB5_OK;
}