[krbdev.mit.edu #7973] Bad calloc test in krb5_authdata_context_init()

Will Fiveash via RT rt-comment at krbdev.mit.edu
Fri Jul 18 14:19:18 EDT 2014


In krb5_authdata_context_init() I see:

    context = calloc(1, sizeof(*context));
    if (kcontext == NULL) {
        code = ENOMEM;
        goto cleanup;
    }

Seems wrong, no?


More information about the krb5-bugs mailing list