Commit 88e4cdde authored by Andrew Bauer's avatar Andrew Bauer Committed by Kitware Robot
Browse files

Merge topic 'ExodusIIReader_qarecord_fix'

b9829658

 Fixing vtkExodusIIReader issue with QA record name length
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: David Thompson's avatarDavid Thompson <david.thompson@kitware.com>
Merge-request: !3628
parents 0b59ef92 b9829658
......@@ -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