Re: [ovs-dev] [PATCH] odp-utils: Fix memory corruption while flow parsing.

2013-03-24 Thread Gurucharan Shetty
On Sat, Mar 23, 2013 at 9:44 PM, Ben Pfaff wrote: > On Fri, Mar 22, 2013 at 04:31:11PM -0700, Gurucharan Shetty wrote: >> Currently, when flow attribute type is greater than OVS_KEY_ATTR_MAX, >> we can write into a random memory address causing corruption. Fix it. >> >> Bug #15702. >> Signed-off-b

Re: [ovs-dev] [PATCH] odp-utils: Fix memory corruption while flow parsing.

2013-03-23 Thread Ben Pfaff
On Fri, Mar 22, 2013 at 04:31:11PM -0700, Gurucharan Shetty wrote: > Currently, when flow attribute type is greater than OVS_KEY_ATTR_MAX, > we can write into a random memory address causing corruption. Fix it. > > Bug #15702. > Signed-off-by: Gurucharan Shetty Looks good. At the same time, it

[ovs-dev] [PATCH] odp-utils: Fix memory corruption while flow parsing.

2013-03-22 Thread Gurucharan Shetty
Currently, when flow attribute type is greater than OVS_KEY_ATTR_MAX, we can write into a random memory address causing corruption. Fix it. Bug #15702. Signed-off-by: Gurucharan Shetty --- lib/odp-util.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/odp-util.c b/lib/