From owner-cvs-sys Tue Jul 14 21:04:46 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA09560 for cvs-sys-outgoing; Tue, 14 Jul 1998 21:04:46 -0700 (PDT) (envelope-from owner-cvs-sys) 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 VAA09528; Tue, 14 Jul 1998 21:04:42 -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 VAA16606; Tue, 14 Jul 1998 21:03:57 -0700 (PDT) Date: Tue, 14 Jul 1998 21:03:57 -0700 (PDT) Message-Id: <199807150403.VAA16606@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 userconfig.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1998/07/14 21:03:57 PDT Modified files: sys/i386/i386 userconfig.c Log: Cast the value returned by strtoul() to a uintptr_t before casting it to a pointer. There's nothing better than strtoul() for reading pointers from strings, but the range checking should be better. Revision Changes Path 1.104 +3 -3 src/sys/i386/i386/userconfig.c