On Mon, 5 Feb 2018, Arnd Bergmann wrote:

> +     if (cmd > ARRAY_SIZE(evtchnop_len))
> +             return -ENOSYS;
> +     len = evtchnop_len[cmd];

What if cmd == ARRAY_SIZE(evtchnop_len) ?


Nicolas

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to