The "loc" value comes from the user and it can be negative leading to an
an array underflow when we check "priv->net_filters[loc].claimed". Fix
this by changing the type to u32.
Fixes:
|
||
---|---|---|
.. | ||
bcmasp.c | ||
bcmasp.h | ||
bcmasp_ethtool.c | ||
bcmasp_intf.c | ||
bcmasp_intf_defs.h | ||
Makefile |