> -Original Message-
> From: Kees Cook
> Sent: Monday, 16 December 2024 6:29
> To: Christophe JAILLET
> Cc: Kees Cook ; Gustavo A . R . Silva
> ;
> Korenblit, Miriam Rachel ; Kalle Valo
> ; Berg, Johannes ; Triebitz, Shaul
> ; Grumbach, Emmanuel
> ; Ben Shimol, Yedidya
> ; Berg, Benjam
Both struct cfg80211_wowlan_nd_match and struct cfg80211_wowlan_nd_info
pre-allocate space for channels and matches, but then may end up using
fewer that the full allocation. Shrink the associated counter
(n_channels and n_matches) after counting the results. This avoids
compile-time (and run-time)
On Wed, Dec 04, 2024 at 09:51:07AM +0100, Uladzislau Rezki wrote:
> I think, when i have more free cycles, i will check it from performance
> point of view. Because i do not know how much a maple tree is efficient
> when it comes to lookups, insert and removing.
Maple tree has a fanout of around 8
On Sun, Dec 15, 2024 at 07:06:12PM +, David Laight wrote:
> From: Kees Cook
> > Sent: 14 December 2024 01:36
> ...
> > In order to silence this false positive but keep deterministic
> > compile-time warnings intact, hide the length variable from GCC with
> > OPTIMIZE_HIDE_VAR() before calling t
From: Kees Cook
> Sent: 14 December 2024 01:36
...
> In order to silence this false positive but keep deterministic
> compile-time warnings intact, hide the length variable from GCC with
> OPTIMIZE_HIDE_VAR() before calling the builtin memcpy.
...
> diff --git a/include/linux/fortify-string.h b/inc
On Tue, 10 Dec 2024 12:24:03 +0800
Yasin Lee wrote:
> Configuration information is now prioritized from the firmware file.
> If the firmware file is missing or fails to parse, the driver falls
> back to using the default configuration list for writing the settings.
>
> Signed-off-by: Yasin Lee