Gustavo A. R. Silva a0d716d8e4 net/sched: act_pedit: Use flex_array_size() helper in memcpy()
Make use of the flex_array_size() helper to calculate the size of a
flexible array member within an enclosing structure.

This helper offers defense-in-depth against potential integer
overflows, while at the same time makes it explicitly clear that
we are dealing with a flexible array member.

Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-07-30 17:38:47 -07:00
..
2020-07-13 17:20:39 -07:00
2020-06-23 20:27:09 -07:00
2020-07-28 13:43:40 -07:00
2019-09-26 08:56:17 +02:00
2020-07-13 17:20:39 -07:00
2020-07-28 13:43:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-13 17:20:40 -07:00
2020-07-28 13:43:40 -07:00
2020-07-13 17:20:40 -07:00