Code

Stop RRDs for segfaulting on invalid graph input -- Ian Holsman <Ian.Holsman@cnet...
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 27 Nov 2003 06:31:38 +0000 (06:31 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 27 Nov 2003 06:31:38 +0000 (06:31 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@228 a5681a0c-68f1-0310-ab6d-d61299d08faa

program/bindings/perl-shared/RRDs.xs

index afb55f08bc4711adbc6824ded14e7d6c16b2cee6..e2a0c8f8252d05d05028aad19754c878dfc58d13 100644 (file)
@@ -176,7 +176,7 @@ void
 rrd_graph(...)
        PROTOTYPE: @    
        PREINIT:
-       char **calcpr;
+       char **calcpr=NULL;
        int i,xsize,ysize;
        char **argv;
        AV *retar;