commit | 1c2de820d66d704c7d6fffdd872b7670eb4e29bb | [log] [tgz] |
---|---|---|
author | Yongjian Xu <xuyongjiande@gmail.com> | Wed Dec 18 15:45:12 2013 +0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Dec 18 16:39:54 2013 -0800 |
tree | f86d9d46e7aaae7cee35ea4886ebaf5c6782086d | |
parent | 138a6d7ea2deb3080116a4f99019e181b62e5ce5 [diff] |
char: Int overflow in lp_do_ioctl(). arg comes from user-space, so int overflow may occur: LP_TIME(minor) = arg * HZ/100; Reported-by: Yongjian Xu <xuyongjiande@gmail.com> Suggested-by: Qixue Xiao <s2exqx@gmail.com> Signed-off-by: Yu Chen <chyyuu@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>