[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
<AS8PR02MB102170568EAE7FFDF93C8D1ED9CA62@AS8PR02MB10217.eurprd02.prod.outlook.com>
Date: Wed, 26 Mar 2025 19:12:00 +0000
From: David Binderman <dcb314@...mail.com>
To: "ebiggers@...nel.org" <ebiggers@...nel.org>, "ardb@...nel.org"
<ardb@...nel.org>, "catalin.marinas@....com" <catalin.marinas@....com>,
"will@...nel.org" <will@...nel.org>, "linux-crypto@...r.kernel.org"
<linux-crypto@...r.kernel.org>, "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, Linux Kernel Mailing List
<linux-kernel@...r.kernel.org>
Subject: linux-6.14/arch/arm64/lib/crc-t10dif-glue.c bug report
Hello there,
Static analyser cppcheck says:
linux-6.14/arch/arm64/lib/crc-t10dif-glue.c:53:33: error: Using pointer to local variable 'buf' that is out of scope. [invalidLifetime]
Source code is
return crc_t10dif_generic(crc, data, length);
but this line
data = buf;
looks very suspicious. Suggest move local variable buf out
to file scope.
Regards
David Binderman
Powered by blists - more mailing lists