]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
ioctl() request args are unsigned longs, so don't attempt to store
authorBruce Evans <bde@FreeBSD.org>
Mon, 6 Jul 1998 19:54:39 +0000 (19:54 +0000)
committerBruce Evans <bde@FreeBSD.org>
Mon, 6 Jul 1998 19:54:39 +0000 (19:54 +0000)
commit91ba27a76908da10f0f1eaa7897ef2ba2ee681ac
treed0daf39c1ad8cd4289557f80ce9ec39ffd79f08d
parentdece5b6a436c91bc77c3f7de0ad29c1cf019b305
ioctl() request args are unsigned longs, so don't attempt to store
them as ints.  Among other bugs, doing so at best caused benign
overflow followed by fatal sign extension on machines with 32-bit
ints and 64-bit longs.
sbin/ifconfig/ifconfig.c