Hi Thomas Actually it is a bug fix. It would be better to be put in R2.0. It may not crash, as it just possibly read something out of range. I am waiting the test report from our validation team, and then I will merge that. Thanks for your patience!
Regards, Helin > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon at 6wind.com] > Sent: Tuesday, March 31, 2015 6:28 PM > To: Zhang, Helin > Cc: dev at dpdk.org; Wu, Jingjing > Subject: Re: [dpdk-dev] [PATCH] i40e: fix the issue reported by klocwork > > Hi Helin, > > > > Klocwork reports array 'src_offset' may use index 16. > > > In function i40e_srcoff_to_flx_pit, index j + 1 can reach > > > I40E_FDIR_MAX_FLEX_LEN. > > > This patch fixes this issue to avoid array bound. > > > > > > Signed-off-by: Jingjing Wu <jingjing.wu at intel.com> > > Acked-by: Helin Zhang <helin.zhang at intel.com> > > Please confirm it's a real bug which needs to be fixed in 2.0, and/or you are > sure > this patch won't bring a new problem. > > Thanks