> -----Original Message----- > From: netdev-owner@xxxxxxxxxxxxxxx [mailto:netdev-owner@xxxxxxxxxxxxxxx] On Behalf Of Joe Perches > Sent: 10 October 2012 15:42 > To: Andreas Schwab > Cc: Dan Carpenter; Karsten Keil; David S. Miller; Masanari Iida; netdev@xxxxxxxxxxxxxxx; kernel- > janitors@xxxxxxxxxxxxxxx > 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. Seems to me the code is expecting 256 bits of data, not any multiple of int, long or anything else. David -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html