lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 28 Aug 2023 23:00:08 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: clang-built-linux <llvm@...ts.linux.dev>, linux-stable <stable@...r.kernel.org>, 
	lkft-triage@...ts.linaro.org, Netdev <netdev@...r.kernel.org>, 
	David Miller <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, 
	Sasha Levin <sashal@...nel.org>, Nathan Chancellor <nathan@...nel.org>, 
	Nick Desaulniers <ndesaulniers@...gle.com>
Subject: Re: clang: net: qed_main.c:1227:3: error: 'snprintf' will always be
 truncated; specified size is 16, but format string expands to at least 18 [-Werror,-Wfortify-source]

On Mon, 28 Aug 2023 at 20:22, Greg Kroah-Hartman
<gregkh@...uxfoundation.org> wrote:
>
> On Mon, Aug 28, 2023 at 05:57:38PM +0530, Naresh Kamboju wrote:
> > [My two cents]
> >
> > stable-rc linux-6.1.y and linux-6.4.y x86 clang-nightly builds fail with
> > following warnings / errors.
> >
> > Build errors:
> > --------------
> > drivers/net/ethernet/qlogic/qed/qed_main.c:1227:3: error: 'snprintf'
> > will always be truncated; specified size is 16, but format string
> > expands to at least 18 [-Werror,-Wfortify-source]
> >  1227 |                 snprintf(name, NAME_SIZE, "slowpath-%02x:%02x.%02x",
> >       |                 ^
> > 1 error generated.
> >
> > Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>
>
> Is this also an issue in 6.5?

I see it on 6.5, Linux next-20230828 tag, stable 6.4 and 6.1.

- Naresh

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ