git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c64c4c1
)
* zero out variable before use
author
Michal Voců
<michal@ruk.cuni.cz>
Thu, 22 Mar 2007 08:18:15 +0000
(08:18 +0000)
committer
Michal Voců
<michal@ruk.cuni.cz>
Thu, 22 Mar 2007 08:18:15 +0000
(08:18 +0000)
org.glite.lb.logger/src/event_store.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.logger/src/event_store.c
b/org.glite.lb.logger/src/event_store.c
index
54c50f8
..
4d7ca6b
100644
(file)
--- a/
org.glite.lb.logger/src/event_store.c
+++ b/
org.glite.lb.logger/src/event_store.c
@@
-405,6
+405,7
@@
event_store_recover(struct event_store *es)
}
/* check the file modification time and size to avoid unnecessary operations */
+ memset(&stbuf, 0, sizeof(stbuf));
if(fstat(fd, &stbuf) < 0) {
il_log(LOG_WARNING, " could not stat event file %s: %s\n continuing anyway\n", es->event_file_name, strerror(errno));
} else {