Re: [PATCH] examples/l3fwd: resolve stack buffer overflow issue

2022-03-14 Thread Thomas Monjalon
> > This patch fixes the stack buffer overflow error reported > > from AddressSanitizer. > > Function send_packetsx4() tries to access out of bound data > > from rte_mbuf and fill it into TX buffer even in the case > > where no pending packets (len = 0). > > Performance impact:- No > > > > ASAN er

RE: [EXT] Re: [PATCH] examples/l3fwd: resolve stack buffer overflow issue

2022-03-10 Thread Rahul Bhansali
> -Original Message- > From: Thomas Monjalon > Sent: Thursday, March 10, 2022 12:37 AM > To: Rahul Bhansali > Cc: dev@dpdk.org; david.march...@redhat.com; Conor Walsh > > Subject: Re: [EXT] Re: [PATCH] examples/l3fwd: resolve stack buffer overflow > issue >

Re: [EXT] Re: [PATCH] examples/l3fwd: resolve stack buffer overflow issue

2022-03-09 Thread Thomas Monjalon
09/03/2022 16:24, Rahul Bhansali: > Hi Thomas, > > From: Thomas Monjalon > > 11/01/2022 13:50, Rahul Bhansali: > > > /* copy rest of the packets into the TX buffer. */ > > > len = num - n; > > > + if (len == 0) > > > + goto exit; > > > + > > > > I don'

RE: [PATCH] examples/l3fwd: resolve stack buffer overflow issue

2022-03-09 Thread Ananyev, Konstantin
> This patch fixes the stack buffer overflow error reported > from AddressSanitizer. > Function send_packetsx4() tries to access out of bound data > from rte_mbuf and fill it into TX buffer even in the case > where no pending packets (len = 0). > Performance impact:- No > > ASAN error report:- > =

RE: [EXT] Re: [PATCH] examples/l3fwd: resolve stack buffer overflow issue

2022-03-09 Thread Rahul Bhansali
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Tuesday, March 8, 2022 4:51 PM > To: Rahul Bhansali > Cc: dev@dpdk.org; david.march...@redhat.com; Conor Walsh > > Subject: [EXT] Re: [PATCH] examples/l3fwd: resolve stack buffer overflow issu

Re: [PATCH] examples/l3fwd: resolve stack buffer overflow issue

2022-03-08 Thread Thomas Monjalon
11/01/2022 13:50, Rahul Bhansali: > This patch fixes the stack buffer overflow error reported > from AddressSanitizer. > Function send_packetsx4() tries to access out of bound data > from rte_mbuf and fill it into TX buffer even in the case > where no pending packets (len = 0). > Performance impact

RE: [PATCH] examples/l3fwd: resolve stack buffer overflow issue

2022-03-07 Thread Walsh, Conor
dev@dpdk.org; Walsh, Conor > ; david.march...@redhat.com > Subject: RE: [PATCH] examples/l3fwd: resolve stack buffer overflow issue > > Ping.. > > -Original Message- > From: Rahul Bhansali > Sent: Tuesday, January 11, 2022 6:20 PM > To: dev@dpdk.org; conor.wa.

RE: [PATCH] examples/l3fwd: resolve stack buffer overflow issue

2022-03-06 Thread Rahul Bhansali
Ping.. -Original Message- From: Rahul Bhansali Sent: Tuesday, January 11, 2022 6:20 PM To: dev@dpdk.org; conor.wa...@intel.com; david.march...@redhat.com Cc: Rahul Bhansali Subject: [PATCH] examples/l3fwd: resolve stack buffer overflow issue This patch fixes the stack buffer overflow

RE: [PATCH] examples/l3fwd: resolve stack buffer overflow issue

2022-03-06 Thread Rahul Bhansali
; david.march...@redhat.com Cc: Rahul Bhansali Subject: [PATCH] examples/l3fwd: resolve stack buffer overflow issue This patch fixes the stack buffer overflow error reported from AddressSanitizer. Function send_packetsx4() tries to access out of bound data from rte_mbuf and fill it into TX buffer even in the

[PATCH] examples/l3fwd: resolve stack buffer overflow issue

2022-01-11 Thread Rahul Bhansali
This patch fixes the stack buffer overflow error reported from AddressSanitizer. Function send_packetsx4() tries to access out of bound data from rte_mbuf and fill it into TX buffer even in the case where no pending packets (len = 0). Performance impact:- No ASAN error report:- ==819==ERROR: Addre