blob: fd1e879b335fa1131b9d60ace90ca0fefd1f204f (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- openssh-5.3p1.orig/session.c 2009-08-20 08:20:50.000000000 +0200
+++ openssh-5.3p1/session.c 2009-12-05 12:10:19.000000000 +0100
@@ -1859,7 +1859,7 @@ session_unused(int id)
fatal("%s: insane session id %d (max %d nalloc %d)",
__func__, id, options.max_sessions, sessions_nalloc);
}
- bzero(&sessions[id], sizeof(*sessions));
+ memset(&sessions[id], 0, sizeof(*sessions));
sessions[id].self = id;
sessions[id].used = 0;
sessions[id].chanid = -1;
|