aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2019-09-25 13:48:01 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2019-10-21 16:54:40 +0200
commitbe11940911363a73fc4e74d759d0b472447daabc (patch)
tree42760b0e5ab42b118747b4d0b9c49f099050a556
parent49a8839638cb335a2fe8a3a332e97fbb01027a72 (diff)
downloadbusybox-w32-be11940911363a73fc4e74d759d0b472447daabc.tar.gz
busybox-w32-be11940911363a73fc4e74d759d0b472447daabc.tar.bz2
busybox-w32-be11940911363a73fc4e74d759d0b472447daabc.zip
telnet: fix uninitialized variable bug
function old new delta telnet_main 1236 1238 +2 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/telnet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/telnet.c b/networking/telnet.c
index fa1628723..5c8805265 100644
--- a/networking/telnet.c
+++ b/networking/telnet.c
@@ -248,7 +248,7 @@ static void handle_net_input(int len)
248{ 248{
249 byte c; 249 byte c;
250 int i; 250 int i;
251 int cstart = cstart; /* for compiler */ 251 int cstart = 0;
252 252
253 i = 0; 253 i = 0;
254 //bb_error_msg("[%u,'%.*s']", G.telstate, len, G.buf); 254 //bb_error_msg("[%u,'%.*s']", G.telstate, len, G.buf);