projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix for segfault in rrd_cgi: caused by freeing a invalid address when printing an...
[rrdtool.git]
/
src
/
rrd_last.c
diff --git
a/src/rrd_last.c
b/src/rrd_last.c
index
517b65a
..
09879c1
100644
(file)
--- a/
src/rrd_last.c
+++ b/
src/rrd_last.c
@@
-73,6
+73,7
@@
time_t rrd_last_r(
rrd_t rrd;
+ rrd_init(&rrd);
rrd_file = rrd_open(filename, &rrd, RRD_READONLY);
if (rrd_file != NULL) {
lastup = rrd.live_head->last_up;