Commit ca19b7b8 authored by Chris Harris's avatar Chris Harris Committed by Code Review
Browse files

Merge topic 'fix-vtktreereader' into master

ae9aeb16 Fix strncmp(...) length when looking for "edges"
parents 24d65354 ae9aeb16
......@@ -174,7 +174,7 @@ int vtkTreeReader::RequestData(
continue;
}
if(!strncmp(this->LowerCase(line), "edges", 4))
if(!strncmp(this->LowerCase(line), "edges", 5))
{
int edge_count = 0;
if(!this->Read(&edge_count))
......
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