Re:Re: [PATCH] tty: an overflow of multiplication indrivers/tty/cyclades.c

From: xiaoqixue_1
Date: Thu Dec 19 2013 - 05:28:27 EST


I am sorry for it because my git configure is not sound.

my real name Qixue Xiao , and my email <xiaoqixue_1@xxxxxxx>.
At 2013-12-19 08:57:40,"Greg KH" <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:
>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@xxxxxxx>
>> Suggested-by: Yongjian Xu <xuyongjiande@xxxxxxxxx>
>> Suggested-by: Yu Chen <chyyuu@xxxxxxxxx>
>> Signed-off-by: Qixue Xiao <xiaoqixue_1@xxxxxxx>
>
>I need a "real" name as the "From:" line here, especially as it doesn't
>match any of these lines either :(
>
èº{.nÇ+?·?®?­?+%?Ëlzwm?éb?맲æìr¸?zX§»®w¥?{ayºÊ?Ú?ë,j­¢f£¢·h??àz¹®w¥¢¸ ¢·¦j:+v?¨?wèjØm¶?ÿ¾«?êçzZ+?ù???Ý¢j"?ú!¶iO?æ¬z·?vØ^¶m§ÿðà nÆ?àþY&?