671f877687
The size of "flex_filter.filter_info.mask" and "filter->mask" are 16
bytes, but the length of memcpy--"RTE_ALIGN(filter->len, sizeof(char))
/ sizeof(char)" may reach 128 bytes which may cause array access out
of bound.
Fix it by replacing "sizeof(char)" by "CHAR_BIT".
Fixes:
|
||
---|---|---|
.. | ||
base | ||
e1000_ethdev.h | ||
e1000_logs.h | ||
em_ethdev.c | ||
em_rxtx.c | ||
igb_ethdev.c | ||
igb_flow.c | ||
igb_pf.c | ||
igb_regs.h | ||
igb_rxtx.c | ||
Makefile | ||
rte_pmd_e1000_version.map |