Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-6]: src/usr.bin/ftp Pull up following revision(s) (requested by n...



details:   https://anonhg.NetBSD.org/src/rev/2988ccd83836
branches:  netbsd-6
changeset: 777124:2988ccd83836
user:      snj <snj%NetBSD.org@localhost>
date:      Wed Nov 16 17:56:42 2016 +0000

description:
Pull up following revision(s) (requested by nonaka in ticket #1414):
        usr.bin/ftp/fetch.c: revision 1.225
PR/51558: ast@: ftp dumps core after usage message when IPv6 URL lacks a slash.
Initialize variable so that we don't get random behavior on cleanup.

diffstat:

 usr.bin/ftp/fetch.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 8f8503db806c -r 2988ccd83836 usr.bin/ftp/fetch.c
--- a/usr.bin/ftp/fetch.c       Wed Nov 16 17:53:57 2016 +0000
+++ b/usr.bin/ftp/fetch.c       Wed Nov 16 17:56:42 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fetch.c,v 1.195.2.3 2016/08/27 13:57:01 bouyer Exp $   */
+/*     $NetBSD: fetch.c,v 1.195.2.4 2016/11/16 17:56:42 snj Exp $      */
 
 /*-
  * Copyright (c) 1997-2015 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: fetch.c,v 1.195.2.3 2016/08/27 13:57:01 bouyer Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.195.2.4 2016/11/16 17:56:42 snj Exp $");
 #endif /* not lint */
 
 /*
@@ -1296,6 +1296,7 @@
        rval = 1;
 
        initurlinfo(&ui);
+       initurlinfo(&oui);
        initauthinfo(&wauth, wwwauth);
        initauthinfo(&pauth, proxyauth);
 



Home | Main Index | Thread Index | Old Index