Code

The patch fixs rrdtools behaviour when presented with trunkated rrd files.
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 3 Oct 2008 22:53:28 +0000 (22:53 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Fri, 3 Oct 2008 22:53:28 +0000 (22:53 +0000)
commit234cd156cdd0776b58a9e1bf86dd083ad2b6838d
tree4435ed3bad133c4586515025a94c217e58ad60e5
parentcfbb6d85c7ccd161244088e702686ee9a9a99d38
The patch fixs rrdtools behaviour when presented with trunkated rrd files.

  * Make sure that we do not extend past the end of the
    file when reading the header.

  * Makes sure that the data portion of the file is large enough, based on
    the ds_cnt and the total number of RRA rows

-- kevin brintnall

git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3/program@1570 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_open.c