diff options
author | Liping Zhang <zlpnobody@gmail.com> | 2017-07-23 17:52:23 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-24 16:25:06 -0700 |
commit | 69ec932e364b1ba9c3a2085fe96b76c8a3f71e7c (patch) | |
tree | 4adb13e0bebc06b4c9040ffa15ebc9421ca615a7 /kernel/pid_namespace.c | |
parent | 9476d393667968b4a02afbe9d35a3558482b943e (diff) |
openvswitch: fix potential out of bound access in parse_ct
Before the 'type' is validated, we shouldn't use it to fetch the
ovs_ct_attr_lens's minlen and maxlen, else, out of bound access
may happen.
Fixes: 7f8a436eaa2c ("openvswitch: Add conntrack action")
Signed-off-by: Liping Zhang <zlpnobody@gmail.com>
Acked-by: Pravin B Shelar <pshelar@ovn.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions