From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Date: Tue, 18 Oct 2011 10:04:20 +0300 > This is just a cleanup. > > My testing version of Smatch warns about this: > net/core/filter.c +380 check_load_and_stores(6) > warn: check 'flen' for negative values > > flen comes from the user. We try to clamp the values here between 1 > and BPF_MAXINSNS but the clamp doesn't work because it could be > negative. This is a bug, but it's not exploitable. > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Applied to net-next, thanks Dan. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html