Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/201a1ba1d1b4
branches:  netbsd-7
changeset: 799996:201a1ba1d1b4
user:      snj <snj%NetBSD.org@localhost>
date:      Tue Nov 01 19:30:44 2016 +0000

description:
Pull up following revision(s) (requested by dholland in ticket #1265):
        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 4981dbe83bd1 -r 201a1ba1d1b4 usr.bin/ftp/fetch.c
--- a/usr.bin/ftp/fetch.c       Tue Nov 01 19:00:11 2016 +0000
+++ b/usr.bin/ftp/fetch.c       Tue Nov 01 19:30:44 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fetch.c,v 1.205.4.4 2016/04/29 19:03:44 snj Exp $      */
+/*     $NetBSD: fetch.c,v 1.205.4.5 2016/11/01 19:30:44 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.205.4.4 2016/04/29 19:03:44 snj Exp $");
+__RCSID("$NetBSD: fetch.c,v 1.205.4.5 2016/11/01 19:30:44 snj Exp $");
 #endif /* not lint */
 
 /*
@@ -1295,6 +1295,7 @@
        rval = 1;
 
        initurlinfo(&ui);
+       initurlinfo(&oui);
        initauthinfo(&wauth, wwwauth);
        initauthinfo(&pauth, proxyauth);
 



Home | Main Index | Thread Index | Old Index