Skip to content

vtkImprintFilter: swap order of out-of-bounds check and vector access

This fixes a possible segfault when the currentOffset is incremented and accesses a vector element before its range validity is checked.

Edited by Cory Quammen

Merge request reports

Loading