summaryrefslogtreecommitdiff
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko2019-09-25 13:48:01 +0200
committerDenys Vlasenko2019-10-21 16:54:40 +0200
commitbe11940911363a73fc4e74d759d0b472447daabc (patch)
tree42760b0e5ab42b118747b4d0b9c49f099050a556 /networking
parent49a8839638cb335a2fe8a3a332e97fbb01027a72 (diff)
downloadbusybox-be11940911363a73fc4e74d759d0b472447daabc.zip
busybox-be11940911363a73fc4e74d759d0b472447daabc.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);