Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2005 19:55:23 +0000 (UTC)
From:      Hajimu UMEMOTO <ume@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libc/net gethostbydns.c gethostnamadr.c
Message-ID:  <200504291955.j3TJtNRI080221@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ume         2005-04-29 19:55:23 UTC

  FreeBSD src repository

  Modified files:
    lib/libc/net         gethostbydns.c gethostnamadr.c 
  Log:
  - do validation check and IPv4-mapped IPv6 address handling before
    any query.
  - don't query against IPv6 link-local address.
  - use IN6_IS_ADDR_V4{MAPPED,COMPAT} macros.
  - use memcpy() instead of bcopy().
  
  Inspired by:    NetBSD
  
  Revision  Changes    Path
  1.54      +5 -35     src/lib/libc/net/gethostbydns.c
  1.27      +36 -1     src/lib/libc/net/gethostnamadr.c



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