diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c index 5b2f8028d..2f8e3a06a 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: serverloop.c,v 1.169 2013/12/19 00:19:12 dtucker Exp $ */ | 1 | /* $OpenBSD: serverloop.c,v 1.170 2014/02/02 03:44:31 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -920,7 +920,7 @@ server_input_stdin_data(int type, u_int32_t seq, void *ctxt) | |||
920 | data = packet_get_string(&data_len); | 920 | data = packet_get_string(&data_len); |
921 | packet_check_eom(); | 921 | packet_check_eom(); |
922 | buffer_append(&stdin_buffer, data, data_len); | 922 | buffer_append(&stdin_buffer, data, data_len); |
923 | memset(data, 0, data_len); | 923 | explicit_bzero(data, data_len); |
924 | free(data); | 924 | free(data); |
925 | } | 925 | } |
926 | 926 | ||