Skip to content

io/ompio: fix get_byte_offset for 0-size fview #8903

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

edgargabriel
Copy link
Member

Handle a file view size of 0 correctly in File_get_byte_offset to avoid
a division by zero problem.

Fixes Issue #8841

Signed-off-by: Edgar Gabriel [email protected]

Handle a file view size of 0 correctly in File_get_byte_offset to avoid
a division by zero problem.

Fixes Issue open-mpi#8841

Signed-off-by: Edgar Gabriel <[email protected]>
@hppritcha hppritcha merged commit 0e76855 into open-mpi:master May 4, 2021
@edgargabriel edgargabriel deleted the topic/get-byte-offset-emptyview branch March 3, 2023 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants