[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 10 Oct 2012 07:41:59 -0700
From: Joe Perches <joe@...ches.com>
To: Andreas Schwab <schwab@...ux-m68k.org>
Cc: Dan Carpenter <dan.carpenter@...cle.com>,
Karsten Keil <isdn@...ux-pingi.de>,
"David S. Miller" <davem@...emloft.net>,
Masanari Iida <standby24x7@...il.com>, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] isdn: fix a wrapping bug in isdn_ppp_ioctl()
On Wed, 2012-10-10 at 15:58 +0200, Andreas Schwab wrote:
> Sorry, I was misremembering the history of the bit ops. There has
> historically been issues with varying bit order, but noadays set_bit is
> always defined consistently with C shifts.
No worries. Anyway, the change was suggested to aid
reader comprehension. If it doesn't (and it seems not)
then it's not worth it.
Anyway, there is still the open question of an overrun/info
leak.
> > - if ((r = set_arg(argp, protos, 8 * sizeof(long))))
set_arg's 2nd arg is bytes not bits.
--
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