Commit b9829658 authored by Andrew Bauer's avatar Andrew Bauer
Browse files

Fixing vtkExodusIIReader issue with QA record name length

Issue is hit when the max variable name length is shorter than
the longest QA record name length.

Addresses paraview/paraview#17844
parent 7961011a
......@@ -2994,8 +2994,8 @@ vtkDataArray* vtkExodusIIReaderPrivate::GetCacheOrRead( vtkExodusIICacheKey key
for ( i = 0; i < num_qa_rec; ++i )
{
for ( j = 0; j < 4 ; ++j )
{
qa_record[i][j] = (char *) calloc( ( maxNameLength + 1 ), sizeof(char) );
{ // QA record string length is different than MaxNameLength
qa_record[i][j] = (char *) calloc( ( MAX_STR_LENGTH + 1 ), sizeof(char) );
}
}
......
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