From: oetiker Date: Sat, 2 Jan 2010 16:33:26 +0000 (+0000) Subject: the end time itself is not part of a time range ... this fixes the segfault reported... X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e8967ac2a3e80b8c1437822cb3bc958799c1899f;p=rrdtool.git the end time itself is not part of a time range ... this fixes the segfault reported in #248 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1995 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/src/rrd_graph.c b/src/rrd_graph.c index 2c4f71a..6a39626 100644 --- a/src/rrd_graph.c +++ b/src/rrd_graph.c @@ -1248,7 +1248,7 @@ int data_proc( } else if (((long int) gr_time >= (long int) im->gdes[vidx].start) - && ((long int) gr_time <= + && ((long int) gr_time < (long int) im->gdes[vidx].end)) { value = im->gdes[vidx].data[(unsigned long) floor((double)