login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <12o3l@...>
Cc: <hadi@...>, <netdev@...>, <linux-kernel@...>
Date: Thursday, April 17, 2008 - 12:37 am

From: Roel Kluin <12o3l@tiscali.nl>
Date: Thu, 17 Apr 2008 05:33:21 +0200


This clobbers 'ret' which is compared to ACT_P_CREATED
later in the function.  If the !pc branch below this code
is not taken, ret must be left at it's initial value of
zero.  Now, it will take on some non-zero positive value
which is not correct.

--
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..., David Miller, (Thu Apr 17, 12:37 am)
speck-geostationary