Re: [ovs-dev] [PATCH] netlink: added check to prevent netlink attribute overflow

2019-02-11 Thread Ben Pfaff
On Mon, Feb 11, 2019 at 04:23:57PM -0800, Toms Atteka wrote: > If enough large input is passed to odp_actions_from_string it can > cause netlink attribute to overflow. > ovs_assert was added just before the problematic code so it could > be debugged faster in similar cases if they would arise.

[ovs-dev] [PATCH] netlink: added check to prevent netlink attribute overflow

2019-02-11 Thread Toms Atteka
If enough large input is passed to odp_actions_from_string it can cause netlink attribute to overflow. ovs_assert was added just before the problematic code so it could be debugged faster in similar cases if they would arise. Check for buffer size was added to prevent entering this function and