CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/08/11 07:56:06
Modified files:
sys/net : switchofp.c
Log message:
Fix out-of-bounds read when looking up the flow-mod handler.
Another case of the "C indexes start at 0" bug where ">" must be ">=":
if (i >= nitems(foo))
return (NULL);
else
return (foo[i].handler);
Coverity CID 1453340; Severity: Major
OK millert@ goda@
