Skip to content

Validate representative region bounds before accessing data - #463

Open
sylvesterkaczmarek wants to merge 1 commit into
llnl:masterfrom
sylvesterkaczmarek:sk/validate-analysis-region-bounds
Open

sylvesterkaczmarek wants to merge 1 commit into
llnl:masterfrom
sylvesterkaczmarek:sk/validate-analysis-region-bounds

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Fixes #461.

Validate bounds shape, numeric values, ordering and converted cell indices before accessing microstructure data. Add regression coverage for invalid bounds on all three axes and valid inclusive bounds in Cells and Meters.

Validation: targeted Serial Kokkos 4.2.00 regression failed on master and passed with the fix under ASan/UBSan (single-process MPI shim). clang-format 17 and git diff --check passed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reject analysis region bounds outside the microstructure

1 participant