Re: [PATCH net] tls: fix NULL deref on tls_sw_splice_eof() with empty record

From: David Howells
Date: Mon Nov 27 2023 - 04:04:27 EST


Jann Horn <jannh@xxxxxxxxxx> wrote:

> + /* same checks as in tls_sw_push_pending_record() */

Wouldn't it be better to say what you're checking rather than referring off to
another function that might one day disappear or be renamed?

David