[ovs-dev] [PATCH] ofproto:fix use-after-free
blp at ovn.org
Fri Mar 6 20:58:19 UTC 2020
On Fri, Mar 06, 2020 at 09:05:55PM +0800, guohongzhi wrote:
> ASAN report use-after-free when destroy ofproto_rule, the rule->ofproto
> has freed in ofproto_destroy.
> Add ref_count for ofproto to avoid use-after-free when destroy
> ofproto_rule adn group.
> Signed-off-by: guohongzhi <guohongzhi1 at huawei.com>
Why isn't RCU sufficient to avoid use-after-free?
More information about the dev