Re: [PATCH net-next v4] keys, dns: Drop unused NUL terminator from upayload->data
From: Jakub Kicinski
Date: Mon Aug 10 2026 - 19:25:52 EST
On Thu, 6 Aug 2026 22:04:54 +0200 Thorsten Blum wrote:
> upayload->data includes an extra NUL terminator even though it is never
> used as a C string. In-tree users access only the first
> upayload->datalen bytes.
>
> Remove the redundant NUL terminator and allocate one byte less for
> upayload->data in dns_resolver_preparse().
Okay. You know how I feel about this change already. I'll apply but
please adjust your filter for changes which are worth maintainer's time