Re: [ovs-dev] [PATCH v1 ovn] Fix seg fault while encoding DHCP domain search option.

2020-07-01 Thread Numan Siddique
From: dev on behalf of > svc.eng.git-pa...@nutanix.com > Sent: Tuesday, June 30, 2020 10:04 AM > To: ovs-dev@openvswitch.org > Cc: Dhathri Purohith > Subject: [ovs-dev] [PATCH v1 ovn] Fix seg fault while encoding DHCP domain > search option. > > From: Dhathri Puroh

Re: [ovs-dev] [PATCH v1 ovn] Fix seg fault while encoding DHCP domain search option.

2020-06-30 Thread Ankur Sharma
: [ovs-dev] [PATCH v1 ovn] Fix seg fault while encoding DHCP domain search option. From: Dhathri Purohith Some versions of strtok_r make the original string NULL at the end of parsing. Adding Null check before ovs_strlcpy() to prevent segfault in such cases. Fixes: d79bb92c4b49 ("Add support

[ovs-dev] [PATCH v1 ovn] Fix seg fault while encoding DHCP domain search option.

2020-06-30 Thread svc.eng.git-pa...@nutanix.com
From: Dhathri Purohith Some versions of strtok_r make the original string NULL at the end of parsing. Adding Null check before ovs_strlcpy() to prevent segfault in such cases. Fixes: d79bb92c4b49 ("Add support for DHCP domain search option (119)") Signed-off-by: Dhathri Purohith ---