summaryrefslogtreecommitdiff
path: root/package/openssh/patches/patch-ssh_c
blob: d9edf659e37acb6552c48f43a47a3716b0f2ab87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- openssh-5.3p1.orig/ssh.c	2009-07-05 23:16:56.000000000 +0200
+++ openssh-5.3p1/ssh.c	2009-12-05 12:10:19.000000000 +0100
@@ -1280,8 +1280,8 @@ load_public_identity_files(void)
 		options.identity_files[i] = filename;
 		options.identity_keys[i] = public;
 	}
-	bzero(pwname, strlen(pwname));
+	memset(pwname, 0, strlen(pwname));
 	xfree(pwname);
-	bzero(pwdir, strlen(pwdir));
+	memset(pwdir, 0, strlen(pwdir));
 	xfree(pwdir);
 }