Skip to content

mptcp: options: avoid printing uninit data

Matthieu Baerts (NGI0) mptcp 1 version In review

Get series with b4
b4 am [email protected] change-id 20260908-mptcp-opt-read-debug-d818ab97c05e

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mptcp: options: mpc: avoid printing uninit datanet/mptcp/options.c+5 -20 replies
2/2mptcp: options: dss: avoid printing uninit csumnet/mptcp/options.c+1 -10 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchMat Martineau
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH mptcp-net 0/2] mptcp: options: avoid printing uninit data

When parsing the MPTCP suboptions, some pr_debug() might read and print uninit values.

That's mostly harmless, but that's also confusing. Fixing that also avoids some tools to complain about accessing unint data.

So read these fields only if they have been set.

---
Matthieu Baerts (NGI0) (2):
mptcp: options: mpc: avoid printing uninit data
mptcp: options: dss: avoid printing uninit csum

 net/mptcp/options.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

---
base-commit: a59eb98e30b7db5fa1cc7cd5343ad387bced3ae0
change-id: 20260908-mptcp-opt-read-debug-d818ab97c05e

Best regards,

Signature · 1 line
Matthieu Baerts (NGI0) <[email protected]>