From: Denys Vlasenko Date: Wed, 25 Sep 2019 11:48:01 +0000 (+0200) Subject: telnet: fix uninitialized variable bug X-Git-Tag: 1_31_1~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=be11940911363a73fc4e74d759d0b472447daabc;p=oweals%2Fbusybox.git telnet: fix uninitialized variable bug function old new delta telnet_main 1236 1238 +2 Signed-off-by: Denys Vlasenko --- 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);