]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
The patch fixs rrdtools behaviour when presented with trunkated rrd files.
authorTobias Oetiker <tobi@oetiker.ch>
Fri, 3 Oct 2008 22:53:28 +0000 (22:53 +0000)
committerTobias Oetiker <tobi@oetiker.ch>
Fri, 3 Oct 2008 22:53:28 +0000 (22:53 +0000)
commit5d3a2f52c57c0867d72d93b6edde282662ce99e9
treeb09b0228a6d81ad852395b95e168d26709d04fef
parent3d1004f09faf5bd19100fb2ce355fe3c59434ee9
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/trunk/program@1570 a5681a0c-68f1-0310-ab6d-d61299d08faa
src/rrd_open.c