[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131219005740.GA6257@kroah.com>
Date: Wed, 18 Dec 2013 16:57:40 -0800
From: Greg KH <gregkh@...uxfoundation.org>
To: xqx12 <s2exqx@...il.com>
Cc: jslaby@...e.cz, linux-kernel@...r.kernel.org, chyyuu@...il.com,
xuyongjiande@...il.com, xqx12 <xiaoqixue_1@....com>
Subject: Re: [PATCH] tty: an overflow of multiplication in
drivers/tty/cyclades.c
On Wed, Dec 18, 2013 at 09:00:29AM +0800, xqx12 wrote:
> there is an overflow in the code :
> cyz_polling_cycle = (arg * HZ) / 1000,
> the multiplicator arg comes from user, so it may be an overflow if
> arg is a big number. And the value of cyc_polling_cycle will be
> wrong when it is used next time.
>
> Reported-by: Qixue Xiao <xiaoqixue_1@....com>
> Suggested-by: Yongjian Xu <xuyongjiande@...il.com>
> Suggested-by: Yu Chen <chyyuu@...il.com>
> Signed-off-by: Qixue Xiao <xiaoqixue_1@....com>
I need a "real" name as the "From:" line here, especially as it doesn't
match any of these lines either :(
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists