Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jul 1998 21:03:57 -0700 (PDT)
From:      Bruce Evans <bde@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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199807150403.VAA16606>