bmh10 / rpms / openssh

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