Re: [vpp-dev] vpp core & bound checking

2022-12-14 Thread hemant via lists.fd.io
er 14, 2022 9:00 AM To: vpp-dev@lists.fd.io Subject: Re: [vpp-dev] vpp core & bound checking Hi Ben, What kind of bound failure is causing crashes? Is a for loop terminator exceeding bound or networking data exceeding bound? I can investigate changing the gcc compiler to check any bound at compile-t

Re: [vpp-dev] vpp core & bound checking

2022-12-14 Thread hemant via lists.fd.io
Ganne (bganne) via lists.fd.io Sent: Wednesday, November 30, 2022 9:30 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] vpp core & bound checking Hi everyone, I'd like to get the discussion started on the topic of bound checking in VPP: some of us recently discussed a patch that added

Re: [vpp-dev] vpp core & bound checking

2022-11-30 Thread hemant via lists.fd.io
Agree with Ben. There is also gdb to use to debug a crash. Hemant -Original Message- From: vpp-dev@lists.fd.io On Behalf Of Benoit Ganne (bganne) via lists.fd.io Sent: Wednesday, November 30, 2022 9:30 AM To: vpp-dev@lists.fd.io Subject: [vpp-dev] vpp core & bound checking Hi ever

[vpp-dev] vpp core & bound checking

2022-11-30 Thread Benoit Ganne (bganne) via lists.fd.io
Hi everyone, I'd like to get the discussion started on the topic of bound checking in VPP: some of us recently discussed a patch that added explicit bound checking within VPP core dataplane infrastructure to prevent a crash when the function is misused from a plugin. The bug is clearly in the p