[dpdk-dev] [PATCH] app/testpmd: fix invalid memory access

Thomas Monjalon thomas at monjalon.net
Wed May 9 15:58:33 CEST 2018


07/05/2018 11:50, Qi Zhang:
> When calulate memory size of an RTE_FLOW_ITEM_TYPE_RAW 's mask
> mask->length is not the real size of binary pattern, it should take
> spec->length, or memory size will be over counted (0xffff) and invalid
> memory be access during following memcpy.
> 
> Fixes: d0ad8648b1c5 ("app/testpmd: fix RSS flow action configuration")
> 
> Signed-off-by: Qi Zhang <qi.z.zhang at intel.com>

Applied, thanks




More information about the dev mailing list