- markus@cvs.openbsd.org 2001/07/22 21:32:27
     [sshpty.c]
     update comment
diff --git a/ChangeLog b/ChangeLog
index f683a86..45fbb6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+20010806
+ - OpenBSD CVS Sync
+   - markus@cvs.openbsd.org 2001/07/22 21:32:27
+     [sshpty.c]
+     update comment
+
 20010803
  - (djm) Fix interrupted read in entropy gatherer. Spotted by markus@ on
    a fast UltraSPARC.
@@ -6107,4 +6113,4 @@
  - Wrote replacements for strlcpy and mkdtemp
  - Released 1.0pre1
 
-$Id: ChangeLog,v 1.1425 2001/08/06 06:51:49 djm Exp $
+$Id: ChangeLog,v 1.1426 2001/08/06 20:47:23 mouring Exp $
diff --git a/readconf.c b/readconf.c
index 4a10946..19b571a 100644
--- a/readconf.c
+++ b/readconf.c
@@ -256,7 +256,8 @@
 		    char *line, const char *filename, int linenum,
 		    int *activep)
 {
-	char buf[256], *s, *string, **charptr, *endofnumber, *keyword, *arg;
+	char buf[256], *s, *string = NULL, **charptr, *endofnumber, *keyword, 
+	    *arg;
 	int opcode, *intptr, value;
 	u_short fwd_port, fwd_host_port;
 
@@ -469,7 +470,6 @@
 
 	case oProxyCommand:
 		charptr = &options->proxy_command;
-		string = xstrdup("");
 		while ((arg = strdelim(&s)) != NULL && *arg != '\0') {
 			string = xrealloc(string, strlen(string) + strlen(arg) + 2);
 			strcat(string, " ");
diff --git a/sshpty.c b/sshpty.c
index 6f97f38..71e16b7 100644
--- a/sshpty.c
+++ b/sshpty.c
@@ -12,7 +12,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: sshpty.c,v 1.2 2001/07/18 21:10:43 markus Exp $");
+RCSID("$OpenBSD: sshpty.c,v 1.3 2001/07/22 21:32:27 markus Exp $");
 
 #ifdef HAVE_UTIL_H
 # include <util.h>
@@ -313,7 +313,8 @@
 
 	/*
 	 * Change owner and mode of the tty as required.
-	 * Warn but continue if filesystem is read-only and the uids match.
+	 * Warn but continue if filesystem is read-only and the uids match/
+	 * tty is owned by root.
 	 */
 	if (stat(ttyname, &st))
 		fatal("stat(%.100s) failed: %.100s", ttyname,