commit | 5b3e7e6cb5771bedda51cdb6f715d1da8cd9e644 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Mon Jul 23 10:46:28 2012 +0300 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 23 00:59:54 2012 -0700 |
tree | f722cb5fa6902c344e5345e3156df61a30f4f6a4 | |
parent | 563d34d05786263893ba4a1042eb9b9374127cf5 [diff] |
openvswitch: potential NULL deref in sample() If there is no OVS_SAMPLE_ATTR_ACTIONS set then "acts_list" is NULL and it leads to a NULL dereference when we call nla_len(acts_list). This is a static checker fix, not something I have seen in testing. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>