projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8b419a
)
Fixed a possible uninitialized variable access.
author
markus schnalke
<markus.schnalke@la-bw.de>
Thu, 20 Nov 2014 09:57:46 +0000
(10:57 +0100)
committer
markus schnalke
<markus.schnalke@la-bw.de>
Thu, 20 Nov 2014 09:57:46 +0000
(10:57 +0100)
(Thanks to the compiler for reporting.)
uip/whom.c
patch
|
blob
|
history
diff --git
a/uip/whom.c
b/uip/whom.c
index
8ffe8b8
..
57fddc8
100644
(file)
--- a/
uip/whom.c
+++ b/
uip/whom.c
@@
-173,7
+173,7
@@
static int
process(char *file)
{
int state, compnum;
- char *cp;
+ char *cp = NULL;
char buf[BUFSIZ], name[NAMESZ];
FILE *in;