Date: Sun, 10 Nov 2002 23:31:48 -0800 (PST) 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: <200211110731.gAB7VmdU022070@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yar 2002/11/10 23:31:48 PST
Modified files:
libexec/ftpd ftpd.c
Log:
Don't free the current addrinfo list, or else a pointer to a freed
memory area would arise. Only an addrinfo list from an earlier
call to getaddrinfo() should be freed there because it will be
substituted by the current list referenced by "res".
Reported by: John Long <fbsd1@pruam.com>
MFC after: 5 days
Revision Changes Path
1.131 +1 -1 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?200211110731.gAB7VmdU022070>
