an array bound error
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
There is a function vtkInformationInternals::ComputeHashKey(int size) in vtkInformation.cxx.
There is a problem of array bound in the code of this function: while(_stl_prime_list[i] + 1 <= size && i < _stl_num_primes) { i++; } when i=_stl_num_primes, _stl_prime_list[i] is out of bound of this array. Although the final result is not incorrect, the code better replaced by the following: while(i < _stl_num_primes && _stl_prime_list[i] + 1 <= size ) { i++; }