vishalmishra434 / rpms / openssh

Forked from rpms/openssh a month ago
Clone
Jan F 71d3d9
diff -up openssh-5.8p1/sftp-glob.c.glob openssh-5.8p1/sftp-glob.c
Jan F 71d3d9
--- openssh-5.8p1/sftp-glob.c.glob	2011-03-07 20:17:34.000000000 +0100
Jan F 71d3d9
+++ openssh-5.8p1/sftp-glob.c	2011-03-07 20:18:47.000000000 +0100
Jan F 71d3d9
@@ -145,5 +145,5 @@ remote_glob(struct sftp_conn *conn, cons
Jan F 71d3d9
 	memset(&cur, 0, sizeof(cur));
Jan F 71d3d9
 	cur.conn = conn;
Jan F 71d3d9
 
Jan F 71d3d9
-	return(glob(pattern, flags | GLOB_ALTDIRFUNC, errfunc, pglob));
Jan F 71d3d9
+	return(glob(pattern, flags | GLOB_LIMIT | GLOB_ALTDIRFUNC, errfunc, pglob));
Jan F 71d3d9
 }