[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <07d04170-921e-4692-8d3e-d01859d66828@kernel.org>
Date: Fri, 19 Dec 2025 13:41:00 +0100
From: Daniel Gomez <da.gomez@...nel.org>
To: Matthieu Baerts <matttbe@...nel.org>, Kees Cook <kees@...nel.org>,
Dan Carpenter <dan.carpenter@...aro.org>
Cc: Rusty Russell <rusty@...tcorp.com.au>, Petr Pavlu <petr.pavlu@...e.com>,
Sami Tolvanen <samitolvanen@...gle.com>, linux-modules@...r.kernel.org,
Hans Verkuil <hverkuil+cisco@...nel.org>,
Malcolm Priestley <tvboxspy@...il.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Hans Verkuil <hverkuil@...nel.org>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
linux-kernel@...r.kernel.org, linux-media@...r.kernel.org,
linux-hardening@...r.kernel.org, Luis Chamberlain <mcgrof@...nel.org>,
Chris Li <sparse@...isli.org>, linux-sparse@...r.kernel.org
Subject: Re: [PATCH v2 3/3] module: Add compile-time check for embedded NUL
characters
On 19/12/2025 13.29, Matthieu Baerts wrote:
> $ touch net/mptcp/crypto_test.c && make C=1 net/mptcp/crypto_test.o
> CC [M] net/mptcp/crypto_test.o
> CHECK net/mptcp/crypto_test.c
> net/mptcp/crypto_test.c:72:1: error: bad integer constant expression
> net/mptcp/crypto_test.c:72:1: error: static assertion failed: "MODULE_INFO(license, ...) contains embedded NUL byte"
> net/mptcp/crypto_test.c:73:1: error: bad integer constant expression
> net/mptcp/crypto_test.c:73:1: error: static assertion failed: "MODULE_INFO(description, ...) contains embedded NUL byte"
>
FYI, we were discussing the fix here:
https://lore.kernel.org/all/20251211175101.GA3405942@google.com/
Sami provided a fix to the thread that you can test. It'd be good to know if it
works for you too. But we still have some questions as we are not familiar with
the sparse code.
Sami, would you mind sending a patch to the sparse list and then we can ask
questions there?
Powered by blists - more mailing lists