Fei Wang via dev <[email protected]> writes:

> 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).
>
> Signed-off-by: Fei Wang <[email protected]>
> ---

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

Reply via email to