diff options
author | 2013-01-18 08:45:32 +0100 | |
---|---|---|
committer | 2013-01-18 08:45:32 +0100 | |
commit | bcc30f398776aeba91ca166a9347d63dcc0eabc1 (patch) | |
tree | 377ae37de1ef89d765ab7e77fbe9a4abcccf1ff8 | |
parent | Use seccomp bpf filter. (diff) | |
download | telnet-password-honeypot-bcc30f398776aeba91ca166a9347d63dcc0eabc1.tar.xz telnet-password-honeypot-bcc30f398776aeba91ca166a9347d63dcc0eabc1.zip |
Fix non-buffer overflow.
-rw-r--r-- | honeypot.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -270,7 +270,7 @@ void set_options() if (telnet_options[option]) send_command(telnet_options[option], option); } - for (option = 0; option < sizeof(telnet_options); ++option) { + for (option = 0; option < sizeof(telnet_willack); ++option) { if (telnet_willack[option]) send_command(telnet_willack[option], option); } |