From 65741d004ee91c5a710559ae4f1664f25009255e Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 25 Sep 2019 13:48:01 +0200 Subject: [PATCH] telnet: fix uninitialized variable bug function old new delta telnet_main 1236 1238 +2 Signed-off-by: Denys Vlasenko --- networking/telnet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { byte c; int i; - int cstart = cstart; /* for compiler */ + int cstart = 0; i = 0; //bb_error_msg("[%u,'%.*s']", G.telstate, len, G.buf); -- 2.25.1