odp-utils: Fix memory corruption while flow parsing.
authorGurucharan Shetty <gshetty@nicira.com>
Fri, 22 Mar 2013 23:25:36 +0000 (16:25 -0700)
committerGurucharan Shetty <gshetty@nicira.com>
Mon, 25 Mar 2013 01:07:54 +0000 (18:07 -0700)
commit3383887a349c1227867c2a00d188bb8c4a53194a
treee1db95ef5251c66daa02682ac589e4510fae1060
parent7cd875dbc82730c5c308ec05822a8b8d444c8a2f
odp-utils: Fix memory corruption while flow parsing.

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 <gshetty@nicira.com>
lib/odp-util.c