summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f644268)
raw | patch | inline | side by side (parent: f644268)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 4 Dec 2008 09:03:48 +0000 (09:03 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Thu, 4 Dec 2008 09:03:48 +0000 (09:03 +0000) |
program/src/rrd_graph_helper.c | patch | blob | history |
index ea455f2e8e333fb0bfb1fdc07cb5689acf7f1b87..a97eb679b2905d0903abb688d7f581d705f693aa 100644 (file)
rrd_set_error("Cannot parse vname from '%s'", line);
return 1;
}
+ if (line[*eaten+i] == '\0') {
+ rrd_set_error("String ends after the = sign on '%s'", line);
+ return 1;
+ }
dprintf("- found candidate '%s'\n", tmpstr);
if ((gdp->vidx = find_var(im, tmpstr)) >= 0) {