explictly check log tainted string

This commit is contained in:
Minhan Xia 2016-01-29 18:29:35 -08:00
parent 7d2f2f4b89
commit b06094f09d

View File

@ -408,6 +408,10 @@ func ClusterLevelLoggingWithElasticsearch(f *Framework) {
Logf("Index value out of range: %d", index)
continue
}
if words[1] != taintName {
Logf("Elasticsearch query return unexpected log line: %s", msg)
continue
}
// Record the observation of a log line from node n at the given index.
observed[n][index]++
}