summaryrefslogtreecommitdiff
path: root/ovsdb/raft-rpc.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-11-13 13:17:43 -0800
committerBen Pfaff <blp@ovn.org>2018-11-19 08:47:46 -0800
commite8208c6617d314546eff366a6e8d6b5ff42c1f47 (patch)
treec141bd7f22973f2baf3b0371a9298adce1314581 /ovsdb/raft-rpc.h
parent8b37ed759ca35c73e490516171224a5ed98c6a51 (diff)
downloadopenvswitch-e8208c6617d314546eff366a6e8d6b5ff42c1f47.tar.gz
raft: Avoid null dereference in raft_update_our_match_index().
When the server is leaving the cluster but remains leader, the raft_find_server() call can return NULL. Previously this caused a null dereference. This commit fixes the problem. Acked-by: Mark Michelson <mmichels@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovsdb/raft-rpc.h')
0 files changed, 0 insertions, 0 deletions