In rrd_update.c is the following code, around line 119:
case '?':
rrd_set_error("unknown option '%s'",argv[optind-1]);
>>>>> rrd_free(&rrd);
return(-1);
}
But, rrd hasn't been initialized at this point.
Now I realize it's my fault for sending it bad data, but still, it shouldn't
crash on me (it happens deep in the run of ntop, after many days, so it's a
SOB to trap, but I'm getting closer).
Anyway, I've noticed the fix in the cvs (2003-03-29 snapshot) for the
development branch (line 124ff):
case '?':
rrd_set_error("unknown option '%s'",argv[optind-1]);
/* rrd_free(&rrd); */
return(-1);
}
and wondered if we could back-port it?
-----Burton
--
Unsubscribe mailto:[EMAIL PROTECTED]
Help mailto:[EMAIL PROTECTED]
Archive http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi