Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Aug 2002 07:56:06 -0700 (PDT)
From:      Yar Tikhiy <yar@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/libexec/ftpd ftpd.c
Message-ID:  <200208201456.g7KEu7cN037221@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
yar         2002/08/20 07:56:06 PDT

  Modified files:
    libexec/ftpd         ftpd.c 
  Log:
  Clean up hostname and hostinfo handling in inithosts():
  o check getaddrinfo(3) return value, not result pointer
  o getaddrinfo(3) returns int, not pointer
  o don't leak memory allocated for hostnames and hostinfo structures
  o initialize pointers that will be checked for NULL somewhere
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.123     +13 -5     src/libexec/ftpd/ftpd.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?200208201456.g7KEu7cN037221>