mirror of
https://github.com/torvalds/linux.git
synced 2025-11-07 03:59:22 +02:00
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 | ||