[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100913.124501.59676416.davem@davemloft.net>
Date: Mon, 13 Sep 2010 12:45:01 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: acme@...stprotocols.net, opurdila@...acom.com,
shemminger@...tta.com, eric.dumazet@...il.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] net/llc: make opt unsigned in llc_ui_setsockopt()
From: Dan Carpenter <error27@...il.com>
Date: Fri, 10 Sep 2010 13:56:16 +0200
> The members of struct llc_sock are unsigned so if we pass a negative
> value for "opt" it can cause a sign bug. Also it can cause an integer
> overflow when we multiply "opt * HZ".
>
> CC: stable@...nel.org
> Signed-off-by: Dan Carpenter <error27@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists