diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.251 2002/06/25 18:51:04 markus Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.252 2002/06/28 10:08:25 deraadt Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -906,6 +906,8 @@ main(int ac, char **av) | |||
906 | break; | 906 | break; |
907 | case 'u': | 907 | case 'u': |
908 | utmp_len = atoi(optarg); | 908 | utmp_len = atoi(optarg); |
909 | if (utmp_len < 0 || utmp_len > MAXHOSTNAMELEN) | ||
910 | usage(); | ||
909 | break; | 911 | break; |
910 | case 'o': | 912 | case 'o': |
911 | if (process_server_config_line(&options, optarg, | 913 | if (process_server_config_line(&options, optarg, |