Re: [PATCH net v2 2/4] crypto/krb5, rxrpc: Fix lack of pre-decrypt/pre-verify length checks

From
David Howells <dhowells@redhat.com>
Date
2026-05-13 20:16:57
Also in
linux-crypto, linux-nfs, lkml, stable
Reply to
David Howells, 2026-05-13
David Howells [off-list ref] 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
Thread (10 messages) 10 messages, 2 authors, last reply 2026-05-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help