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
| ||
|
Message-Id: <174223394380.578193.6449253449477522706.b4-ty@oss.qualcomm.com> Date: Mon, 17 Mar 2025 10:52:23 -0700 From: Jeff Johnson <jeff.johnson@....qualcomm.com> To: Christian Lamparter <chunkeey@...glemail.com>, Kees Cook <kees@...nel.org> Cc: Johannes Berg <johannes@...solutions.net>, linux-wireless@...r.kernel.org, linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org Subject: Re: [PATCH] wifi: carl9170: Add __nonstring annotations for unterminated strings On Mon, 10 Mar 2025 15:23:40 -0700, Kees Cook wrote: > When a character array without a terminating NUL character has a static > initializer, GCC 15's -Wunterminated-string-initialization will only > warn if the array lacks the "nonstring" attribute[1]. Mark the arrays > with __nonstring to and correctly identify the char array as "not a C > string" and thereby eliminate the warning. > > > [...] Applied, thanks! [1/1] wifi: carl9170: Add __nonstring annotations for unterminated strings commit: 9a1cf85c9c7cca15bfc452f207818977621dedf8 Best regards, -- Jeff Johnson <jeff.johnson@....qualcomm.com>
Powered by blists - more mailing lists