diff options
author | Denys Vlasenko | 2019-09-25 13:48:01 +0200 |
---|---|---|
committer | Denys Vlasenko | 2019-10-21 16:54:40 +0200 |
commit | be11940911363a73fc4e74d759d0b472447daabc (patch) | |
tree | 42760b0e5ab42b118747b4d0b9c49f099050a556 /networking | |
parent | 49a8839638cb335a2fe8a3a332e97fbb01027a72 (diff) | |
download | busybox-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.c | 2 |
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); |