projects
/
NeonServV5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50895e2
)
fixed tools.c:flushModeBuffer (used uninitialized chars)
author
pk910
<philipp@zoelle1.de>
Wed, 5 Oct 2011 11:41:37 +0000
(13:41 +0200)
committer
pk910
<philipp@zoelle1.de>
Wed, 5 Oct 2011 11:41:37 +0000
(13:41 +0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index a961d62ab2e4f2c44ef1b7ed3078299fd7ca0446..cce88797ec697c70cc847f352178ed546304c8a3 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-394,6
+394,7
@@
void flushModeBuffer(struct ModeBuffer *modeBuf) {
char modeStr[MAXMODES+3];
int modePos = 0;
char paramStr[MAXLEN];
+ *paramStr = '\0';
int paramPos = 0;
int i;
if(modeBuf->addCount) {