diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-08-06 22:04:54 +0200 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-10 16:20:42 -0700 |
| commit | f1529936c0b65fb343f62f50e5313078719fc336 (patch) | |
| tree | 435c30de9d838240c487964883c9af541eaffc19 /tools/perf/scripts/python/bin | |
| parent | fd23a7c973174a320ae2b560d1caa69ef111c0c2 (diff) | |
keys, dns: Drop unused NUL terminator from upayload->data
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 <thorsten.blum@linux.dev>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20260806200454.245444-3-thorsten.blum@linux.dev
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
