From owner-cvs-sbin Mon Jul 6 12:55:06 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA07186 for cvs-sbin-outgoing; Mon, 6 Jul 1998 12:55:06 -0700 (PDT) (envelope-from owner-cvs-sbin) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA07120; Mon, 6 Jul 1998 12:54:49 -0700 (PDT) (envelope-from bde@FreeBSD.org) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id MAA24980; Mon, 6 Jul 1998 12:54:41 -0700 (PDT) Date: Mon, 6 Jul 1998 12:54:41 -0700 (PDT) Message-Id: <199807061954.MAA24980@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ifconfig ifconfig.c Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/07/06 12:54:41 PDT Modified files: sbin/ifconfig ifconfig.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.37 +3 -3 src/sbin/ifconfig/ifconfig.c