Commit 67d9dfbc authored by Geoff Simmons's avatar Geoff Simmons

varnishevent: don't crash on data dump if the data table is unintialized

parent 33cd802c
......@@ -222,6 +222,9 @@ DATA_Dump(void)
for (int i = 0; i < config.max_data; i++) {
int j;
if (logline == NULL || logline[i].magic != LOGLINE_MAGIC)
continue;
if (logline[i].state == DATA_EMPTY)
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment