On Tue, Aug 26, 2025 at 8:35 AM Eelco Chaudron via dev <
ovs-dev@openvswitch.org> wrote:

> Coverity flagged a potential null dereference of txnid
> when calling raft_next_entry() in ovsdb_storage_read().
>
> To prevent this, raft_next_entry() now checks whether txnid is non-NULL
> before attempting to write to it. This preserves existing behavior
> when txnid is valid, while safely handling the case where it is NULL.
>
> No change to normal operation; this only prevents potential crashes
> if a NULL txnid is passed.
>
> Signed-off-by: Eelco Chaudron <echau...@redhat.com>
> ---


Acked-by: Mike Pattrick <m...@redhat.com>
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to