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: NYongjian Xu <xuyongjiande@gmail.com> Suggested-by: NQixue Xiao <s2exqx@gmail.com> Signed-off-by: NYu Chen <chyyuu@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录