Skip to content
Commit 435f08a7 authored by Dan Carpenter's avatar Dan Carpenter Committed by David S. Miller
Browse files

isdn: fix a wrapping bug in isdn_ppp_ioctl()



"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: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 34e02aa1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment