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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Miller <davem@...>
Cc: <12o3l@...>, <hadi@...>, <netdev@...>, <linux-kernel@...>
Date: Thursday, April 17, 2008 - 12:55 am

David Miller wrote:

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@trash.net>
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] NET: catch signed nla_len() retval in tcf_simp_i..., Patrick McHardy, (Thu Apr 17, 12:55 am)