projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11e024a
)
telnet: fix uninitialized variable bug
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 25 Sep 2019 11:48:01 +0000
(13:48 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 25 Sep 2019 11:48:01 +0000
(13:48 +0200)
function old new delta
telnet_main 1236 1238 +2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/telnet.c
patch
|
blob
|
history
diff --git
a/networking/telnet.c
b/networking/telnet.c
index fa1628723393017e4113a1bc7650c723b52187ac..5c8805265a1b0aa432dda7934cd22f2d732abd9f 100644
(file)
--- 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);