ea89c862f0
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. This code was detected with the help of Coccinelle and, audited and fixed manually. Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
Makefile | ||
gdma.h | ||
gdma_main.c | ||
hw_channel.c | ||
hw_channel.h | ||
mana.h | ||
mana_en.c | ||
mana_ethtool.c | ||
shm_channel.c | ||
shm_channel.h |