Re: [patch] openvswitch: potential NULL deref in sample()
From: David Miller <hidden>
Date: 2012-07-23 08:00:09
Also in:
kernel-janitors
From: David Miller <hidden>
Date: 2012-07-23 08:00:09
Also in:
kernel-janitors
From: Dan Carpenter <redacted> Date: Mon, 23 Jul 2012 10:46:28 +0300
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 <redacted>
Applied, thanks Dan.