diff options
author | suz <suz@FreeBSD.org> | 2005-05-02 07:44:24 +0000 |
---|---|---|
committer | suz <suz@FreeBSD.org> | 2005-05-02 07:44:24 +0000 |
commit | d1bb5343c0ad00dbe06df9eba8310e5c10311aa4 (patch) | |
tree | a4af2189a7b1e0828b275f56b0f090a818b7b597 /usr.sbin | |
parent | d1f3a4ab408662e8b5b8c84985418eaa983eafba (diff) | |
download | FreeBSD-src-d1bb5343c0ad00dbe06df9eba8310e5c10311aa4.zip FreeBSD-src-d1bb5343c0ad00dbe06df9eba8310e5c10311aa4.tar.gz |
fixed a possible reference to a broken memory
MFC after: 1 day
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/faithd/ftp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/faithd/ftp.c b/usr.sbin/faithd/ftp.c index c128fe0..19ad5ee 100644 --- a/usr.sbin/faithd/ftp.c +++ b/usr.sbin/faithd/ftp.c @@ -971,9 +971,9 @@ eprtparamfail: return n; } - freeaddrinfo(res); memcpy(&data6, res->ai_addr, res->ai_addrlen); + freeaddrinfo(res); goto sendport; } else if (strcmp(cmd, "LPSV") == 0 && !param) { /* |