Skip to content

Commit

Permalink
Add missing error check in krb5_check_transited
Browse files Browse the repository at this point in the history
Reported by David Mulder, PR 195.
  • Loading branch information
Viktor Dukhovni committed Aug 10, 2016
1 parent 4b4036c commit 99dfbda
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/krb5/transited.c
Expand Up @@ -612,6 +612,8 @@ krb5_check_transited(krb5_context context,

ret = _krb5_find_capath(context, client_realm, client_realm, server_realm,
TRUE, &capath, &num_capath);
if (ret)
return ret;

for (i = 0; i < num_realms; i++) {
for (j = 0; j < num_capath; ++j) {
Expand Down

0 comments on commit 99dfbda

Please sign in to comment.