Date: Tue, 14 Jul 1998 21:03:57 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 userconfig.c Message-ID: <199807150403.VAA16606@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807150403.VAA16606>