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:03:05 +0000 (18:03 -0700)
commit2aef12142500cd9db13d23df7155518cdab2e353
tree6b7138d4b20bf1c585e475dfff4c8de1afb2e273
parentbf1e8ff9835871eb4927d5a0dbc7af19901d37ce
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