diff options
| author | 2026-10-13 19:56:38 +0200 | |
|---|---|---|
| committer | 2026-10-20 11:06:10 +0200 | |
| commit | a234ee8eb9a20d1a272f0d2ceabdb35165071778 (patch) | |
| tree | 54d929ec79134fc7eff73c33f6fae90bd47acd1d /scripts/Makefile.thinlto | |
| parent | tun: use pskb_may_pull_reason() and remove SKB_DROP_REASON_HDR_TRUNC (diff) | |
mptcp: options: mpc: avoid printing uninit data
When parsing the MP_CAPABLE suboption, this pr_debug() might read and
print uninitialised values.
That's mostly harmless, but that's also confusing. Fixing that also
avoids some tools to complain about accessing uninit data.
So read these fields only if they have been set.
Note: this was initially reported by Clashiko as an existing issue. The
code has been analysed by a human and confirmed. This is a non-urgent
fix.
Fixes: cc7972ea1932 ("mptcp: parse and emit MP_CAPABLE option according to v1 spec")
Reviewed-by: Mat Martineau <martineau@kernel.org>
Signed-off-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>
Link: https://patch.msgid.link/20261013-net-next-mptcp-misc-feat-7-4-part2-v1-1-1181e5d2fda4@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
