Re: Driver core: warn when userspace writes to the uevent file in a non-supported way

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <torvalds@...>
Cc: <linux-kernel@...>
Date: Friday, April 27, 2007 - 5:41 pm

> --- a/drivers/base/core.c


And checking for "add" without actually checking if count >= 3 is very
ugly style indeed. Not afaict any kind of security risk as the next 3
bytes are always going to be readable
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Driver core: warn when userspace writes to the uevent fi..., Alan Cox, (Fri Apr 27, 5:41 pm)