Thread (2 messages) flat view 2 messages, 2 authors, 2021-09-28

Re: [PATCH][next] net_sched: Use struct_size() and flex_array_size() helpers

From: Jakub Kicinski <kuba@kernel.org>
Date: 2021-09-28 00:56:10
Also in: linux-hardening, lkml

On Mon, 27 Sep 2021 17:18:49 -0500 Gustavo A. R. Silva wrote:
Make use of the struct_size() and flex_array_size() helpers instead of
an open-coded version, in order to avoid any potential type mistakes
or integer overflows that, in the worse scenario, could lead to heap
overflows.

Link: https://github.com/KSPP/linux/issues/160
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Does not apply to net-next, please rebase & resend. Thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help