Skip to content
Snippets Groups Projects
Commit abfbe569 authored by Haocheng LIU's avatar Haocheng LIU
Browse files

Bug #16737: Change BlockSize type to prevent overflow

Changing BlockSize type from unsigned int to int is acceptable  since
the value computed for this->BlockSize in the class is known to never
be anything but an int(see vtkwindBladeReader::FindVariableOffsets)
parent 636aa17a
No related branches found
No related tags found
No related merge requests found
......@@ -138,7 +138,7 @@ protected:
int* VariableBasicType; // FLOAT or INTEGER
int* VariableByteCount; // Number of bytes in basic type
long int* VariableOffset; // Offset into data file
unsigned int BlockSize; // Size of every data block
int BlockSize; // Size of every data block
int GBlockSize; // Size of every data block
vtkFloatArray** Data; // Actual data arrays
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment