Re: [PATCH] NET: catch signed nla_len() retval in tcf_simp_init()

From: David Miller
Date: Fri Apr 18 2008 - 02:20:40 EST


From: Patrick McHardy <kaber@xxxxxxxxx>
Date: Thu, 17 Apr 2008 06:55:35 +0200

> The change is also unnecessary because the attribute was
> already validated and the length can not be less than zero.
>
> This patch changes it to only check for zero length.
>
> Signed-off-by: Patrick McHardy <kaber@xxxxxxxxx>

Even though there have been discussions to do other things,
this patch moves things in the forward direction so I have
applied it.

Thanks.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/