Liping Zhang 23f787ceeb openvswitch: fix potential out of bound access in parse_ct
[ Upstream commit 69ec932e364b1ba9c3a2085fe96b76c8a3f71e7c ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-08-11 09:08:53 -07:00
..
2017-05-02 21:19:55 -07:00
2015-11-23 14:56:15 -05:00
2015-11-02 22:47:14 -05:00
2017-08-06 19:19:38 -07:00
2015-10-07 04:27:43 -07:00
2015-10-21 00:49:24 +02:00