RE: [PATCH] net/i40e: Populate error in flow_parse_fdir_pattern

2022-03-24 Thread Zhang, Qi Z
> -Original Message- > From: David Marchand > Sent: Tuesday, March 22, 2022 4:36 PM > To: Mike Pattrick > Cc: Xing, Beilei ; murphyx.y...@intel.com; dev > ; dpdk stable > Subject: Re: [PATCH] net/i40e: Populate error in flow_parse_fdir_pattern > Rena

Re: [PATCH] net/i40e: Populate error in flow_parse_fdir_pattern

2022-03-22 Thread David Marchand
Hello Mike, On Tue, Mar 22, 2022 at 4:20 AM Mike Pattrick wrote: > > Errors from i40e_flow_parse_fdir_pattern() can bubble up to > rte_flow_create. If rte_flow_error is not initialized a caller may > dereference error->message. This may be uninitialized memory, leading > to a segemntation fault.

[PATCH] net/i40e: Populate error in flow_parse_fdir_pattern

2022-03-21 Thread Mike Pattrick
Errors from i40e_flow_parse_fdir_pattern() can bubble up to rte_flow_create. If rte_flow_error is not initialized a caller may dereference error->message. This may be uninitialized memory, leading to a segemntation fault. Signed-off-by: Mike Pattrick Fixes: 4a072ad43442 ("net/i40e: fix flow direc