diff options
Diffstat (limited to 'auth-options.c')
-rw-r--r-- | auth-options.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/auth-options.c b/auth-options.c index a8d738ace..80d59ee95 100644 --- a/auth-options.c +++ b/auth-options.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: auth-options.c,v 1.58 2013/05/17 00:13:13 djm Exp $ */ | 1 | /* $OpenBSD: auth-options.c,v 1.59 2013/07/12 00:19:58 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 |
@@ -432,7 +432,8 @@ parse_option_list(u_char *optblob, size_t optblob_len, struct passwd *pw, | |||
432 | { | 432 | { |
433 | char *command, *allowed; | 433 | char *command, *allowed; |
434 | const char *remote_ip; | 434 | const char *remote_ip; |
435 | u_char *name = NULL, *data_blob = NULL; | 435 | char *name = NULL; |
436 | u_char *data_blob = NULL; | ||
436 | u_int nlen, dlen, clen; | 437 | u_int nlen, dlen, clen; |
437 | Buffer c, data; | 438 | Buffer c, data; |
438 | int ret = -1, found; | 439 | int ret = -1, found; |
@@ -550,7 +551,8 @@ parse_option_list(u_char *optblob, size_t optblob_len, struct passwd *pw, | |||
550 | buffer_clear(&data); | 551 | buffer_clear(&data); |
551 | free(name); | 552 | free(name); |
552 | free(data_blob); | 553 | free(data_blob); |
553 | name = data_blob = NULL; | 554 | name = NULL; |
555 | data_blob = NULL; | ||
554 | } | 556 | } |
555 | /* successfully parsed all options */ | 557 | /* successfully parsed all options */ |
556 | ret = 0; | 558 | ret = 0; |