On 14 Oct 2026, at 16:20, Fei Wang via dev wrote:

> In parse_odp_action__(), the value returned by
> parse_odp_push_nsh_action() is incremented by one before being
> returned.  If it equals INT_MAX, the addition overflows, which is
> undefined behavior.  Reject such input with -EINVAL before doing the
> addition.
>
> Found by Coverity (INTEGER_OVERFLOW, return_value_error).

Thanks for the new revision Fei.

The code looks good, but the subject and commit message might need some 
updating.
Did you also verify it fixes the covert issues?

Cheers,

Eelco

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to