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] [day] [month] [year] [list]
Date:   Mon, 24 Jan 2022 10:26:18 +0100
From:   AngeloGioacchino Del Regno 
To:     "Gustavo A. R. Silva" <>,
        Mathias Nyman <>,
        Chunfeng Yun <>,
        Greg Kroah-Hartman <>,
        Matthias Brugger <>
Subject: Re: [PATCH][next] usb: xhci-mtk: Use struct_size() helper in

Il 20/01/22 02:55, Gustavo A. R. Silva ha scritto:
> Make use of the struct_size() helper instead of an open-coded version,
> in order to avoid any potential type mistakes or integer overflows that,
> in the worst scenario, could lead to heap overflows.
> Also, address the following sparse warnings:
> drivers/usb/host/xhci-mtk-sch.c:265:20: warning: using sizeof on a flexible structure
> Link:
> Link:
> Signed-off-by: Gustavo A. R. Silva <>
> Acked-by: Chunfeng Yun <>

Reviewed-by: AngeloGioacchino Del Regno <>

Powered by blists - more mailing lists