v1 -> v2:
- Patch 1/3: Broadened the overflow check per Ilya's review to also
cover the prev_log_index + n_entries case, not just the
prev_log_index == UINT64_MAX case.
- Patch 2/3 (new): Added a matching check in
raft_handle_install_snapshot_request__() for the same overflow
pattern in the last_index + 1 computation.
- Patch 3/3: Expanded the condition to one line per monitor version
per Ilya's review.
Tristan Madani (3):
raft: Reject append_request with log index overflow.
raft: Reject install_snapshot_request with last_index overflow.
jsonrpc-server: Validate monitor V1 params count.
ovsdb/jsonrpc-server.c | 3 ++-
ovsdb/raft.c | 14 ++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev