Re: [PATCH net-next v4] keys, dns: Drop unused NUL terminator from upayload->data
Simon Horman <[email protected]>
| Newsgroups | org.kernel.vger.netdev,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 06, 2026 at 10:04:54PM +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(). > > Signed-off-by: Thorsten Blum <[email protected]> > --- > Changes in v4: > - Drop patch 2/2 from the series and submit 1/2 as a standalone patch > - Reword subject and patch description > - v3: https://lore.kernel.org/r/[email protected]/ Separating this patch out makes sense to me. And the updated patch description looks good. Thanks. Reviewed-by: Simon Horman <[email protected]>