Eitan Adler <ead...@freebsd.org> wrote
  in <201112212027.pblkrfpk084...@svn.freebsd.org>:

ea> Author: eadler (ports committer)
ea> Date: Wed Dec 21 20:27:41 2011
ea> New Revision: 228790
ea> URL: http://svn.freebsd.org/changeset/base/228790
ea>
ea> Log:
ea>   - Remove extraneous null ptr deref checks
ea>   - Fix memory leak
ea>
ea>   Submitted by:     Slono Slono <slonoman2...@yandex.ru>
ea>   Approved by:      jhb
ea>   MFC after:        1 week
ea>
ea> Modified:
ea>   head/usr.sbin/fwcontrol/fwcontrol.c
ea>   head/usr.sbin/newsyslog/newsyslog.c
ea>   head/usr.sbin/ypserv/yp_main.c

 I suspects you did not test ypserv after this change.  Freeing the
 pointer sname at the end of create_service() is completely wrong and
 probably people get the following error message when invoking ypserv:

  getaddrinfo(): servname not supported for ai_socktype

-- Hiroki

Attachment: pgpa3Lywevy6A.pgp
Description: PGP signature

Reply via email to