summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko2019-09-25 13:48:01 +0200
committerDenys Vlasenko2019-09-25 13:48:01 +0200
commit65741d004ee91c5a710559ae4f1664f25009255e (patch)
treefd52b9ccacab37be8c3bca3ea6ba9e85516daadf /networking
parent11e024aa86f23a6dd86cdd58b8890756708cd708 (diff)
downloadbusybox-65741d004ee91c5a710559ae4f1664f25009255e.zip
busybox-65741d004ee91c5a710559ae4f1664f25009255e.tar.gz
telnet: fix uninitialized variable bug
function old new delta telnet_main 1236 1238 +2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/telnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnet.c b/networking/telnet.c
index fa16287..5c88052 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -248,7 +248,7 @@ static void handle_net_input(int len)
{
byte c;
int i;
- int cstart = cstart; /* for compiler */
+ int cstart = 0;
i = 0;
//bb_error_msg("[%u,'%.*s']", G.telstate, len, G.buf);