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]
Message-ID: <c5003d73-b135-4c3a-a4da-3d036ff3c2d2@RTEXMBS04.realtek.com.tw>
Date: Thu, 13 Mar 2025 09:28:54 +0800
From: Ping-Ke Shih <pkshih@...ltek.com>
To: Kees Cook <kees@...nel.org>, Ping-Ke Shih <pkshih@...ltek.com>
CC: Kees Cook <kees@...nel.org>, Johannes Berg <johannes@...solutions.net>,
        <linux-wireless@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <linux-hardening@...r.kernel.org>
Subject: Re: [PATCH] wifi: rtw88: Add __nonstring annotations for unterminated strings

Kees Cook <kees@...nel.org> 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.
> 
> Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117178 [1]
> Cc: Ping-Ke Shih <pkshih@...ltek.com>
> Cc: Johannes Berg <johannes@...solutions.net>
> Cc: linux-wireless@...r.kernel.org
> Signed-off-by: Kees Cook <kees@...nel.org>

1 patch(es) applied to rtw-next branch of rtw.git, thanks.

d58ad77d5cc2 wifi: rtw88: Add __nonstring annotations for unterminated strings

---
https://github.com/pkshih/rtw.git


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ