vtkIOSSReaderInternal: remove redundant pointer addition

Setting ptr = std::fill_n's return value advances the pointer along the buffer - the second increment moves it twice as far as needed, resulting in a crash.

Added test that crashes before this fix, succeeds after it.

Backport: release

Edited by Cory Quammen

Merge request reports

Loading