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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Fri, 20 Aug 2021 15:02:03 +0200 (CEST)
From:   Jiri Kosina <>
To:     Kees Cook <>
        Stefan Achatz <>,
        Benjamin Tissoires <>,,
        "Gustavo A. R. Silva" <>,
        Greg Kroah-Hartman <>,
        Andrew Morton <>,,,,,,,,
        Rasmus Villemoes <>,
Subject: Re: [PATCH v2 55/63] HID: roccat: Use struct_group() to zero

On Tue, 17 Aug 2021, Kees Cook wrote:

> In preparation for FORTIFY_SOURCE performing compile-time and run-time
> field bounds checking for memset(), avoid intentionally writing across
> neighboring fields.
> Add struct_group() to mark region of struct kone_mouse_event that should
> be initialized to zero.
> Cc: Stefan Achatz <>
> Cc: Jiri Kosina <>
> Cc: Benjamin Tissoires <>
> Cc:
> Signed-off-by: Kees Cook <>

Applied, thank you Kees.

Jiri Kosina

Powered by blists - more mailing lists