catch failure

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25203 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-05-09 14:21:29 +00:00
parent 7afb1de424
commit a8a2e8140b

View File

@@ -862,6 +862,8 @@ kadm5_log_previous (krb5_context context,
goto end_of_storage; goto end_of_storage;
*len = tmp; *len = tmp;
ret = krb5_ret_int32 (sp, &tmp); ret = krb5_ret_int32 (sp, &tmp);
if (ret)
goto end_of_storage;
*ver = tmp; *ver = tmp;
off = 24 + *len; off = 24 + *len;
krb5_storage_seek(sp, -off, SEEK_CUR); krb5_storage_seek(sp, -off, SEEK_CUR);
@@ -880,6 +882,8 @@ kadm5_log_previous (krb5_context context,
goto end_of_storage; goto end_of_storage;
*timestamp = tmp; *timestamp = tmp;
ret = krb5_ret_int32 (sp, &tmp); ret = krb5_ret_int32 (sp, &tmp);
if (ret)
goto end_of_storage;
*op = tmp; *op = tmp;
ret = krb5_ret_int32 (sp, &tmp); ret = krb5_ret_int32 (sp, &tmp);
if (ret) if (ret)