David Howells <dhowells at redhat.com> wrote: > + if (crypto_krb5_check_data_len(gk->krb5, KRB5_ENCRYPT_MODE, > + len, sizeof(*hdr)) < 0) This should be sizeof(hdr) here in patch 2 and sizeof(*hdr) in patch 3. David