Date: Tue, 14 Jul 1998 03:32:30 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-usrsbin@FreeBSD.ORG Subject: cvs commit: src/usr.sbin/vidcontrol vidcontrol.c Message-ID: <199807141032.DAA14501@freefall.freebsd.org>
index | next in thread | raw e-mail
bde 1998/07/14 03:32:29 PDT
Modified files:
usr.sbin/vidcontrol vidcontrol.c
Log:
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.
Revision Changes Path
1.19 +4 -3 src/usr.sbin/vidcontrol/vidcontrol.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807141032.DAA14501>
