[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20121010.224614.1474455483126634181.davem@davemloft.net>
Date: Wed, 10 Oct 2012 22:46:14 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: isdn@...ux-pingi.de, standby24x7@...il.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] isdn: fix a wrapping bug in isdn_ppp_ioctl()
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed, 10 Oct 2012 12:42:18 +0300
> "protos" is an array of unsigned longs and "i" is the number of bits in
> an unsigned long so we need to use 1UL as well to prevent the shift
> from wrapping around.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
I'll apply this, thanks.
--
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