diff options
author | Greg Hudson <ghudson@mit.edu> | 2014-07-18 14:51:13 -0400 |
---|---|---|
committer | Tom Yu <tlyu@mit.edu> | 2015-02-06 18:28:09 -0500 |
commit | 794e8046139962db21d46c36a26bd3656227360a (patch) | |
tree | 1ec433f3cd1bf06484bff245ad67b4224d123325 | |
parent | 640080a7c47238f0b63e35cfb484308f76db4992 (diff) | |
download | krb5-794e8046139962db21d46c36a26bd3656227360a.zip krb5-794e8046139962db21d46c36a26bd3656227360a.tar.gz krb5-794e8046139962db21d46c36a26bd3656227360a.tar.bz2 |
Fix calloc check in krb5_authdata_context_init
(cherry picked from commit 4abfd7bc3819a66f77a1cf121b7608af624ecb6e)
ticket: 8112 (new)
version_fixed: 1.11.6
status: resolved
-rw-r--r-- | src/lib/krb5/krb/authdata.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/authdata.c b/src/lib/krb5/krb/authdata.c index 546fb82..0c5ec3c 100644 --- a/src/lib/krb5/krb/authdata.c +++ b/src/lib/krb5/krb/authdata.c @@ -408,7 +408,7 @@ krb5_authdata_context_init(krb5_context kcontext, } context = calloc(1, sizeof(*context)); - if (kcontext == NULL) { + if (context == NULL) { code = ENOMEM; goto cleanup; } |