[git commit] telnet: fix uninitialized variable bug
Denys Vlasenko
vda.linux at googlemail.com
Wed Sep 25 11:48:01 UTC 2019
commit: https://git.busybox.net/busybox/commit/?id=65741d004ee91c5a710559ae4f1664f25009255e
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
function old new delta
telnet_main 1236 1238 +2
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
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);
More information about the busybox-cvs
mailing list