This is an automated backport of #7004: Fix segfault with closed primary dimension.
The original issue is #6983.
This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.
This is an automated backport of #7004: Fix segfault with closed primary dimension. The original issue is #6983. This PR will be merged automatically after all the relevant CI checks pass. If this fix should not be backported, or will be backported manually, just close this PR. You can use the backport branch to add your changes, it won't be modified automatically anymore.
For more details, please see the documentation
Original description
Fix segfault with closed primary dimension
While it is no longer possible to create this checking return value of hyperspace_get_open_dimension should still not be neglected.
Fixes
#6983Disable-check: force-changelog-file