Skip to content
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

Fix integer overflow issue in fabio #623

Merged
merged 1 commit into from
Apr 26, 2024
Merged

Fix integer overflow issue in fabio #623

merged 1 commit into from
Apr 26, 2024

Commits on Mar 28, 2024

  1. Fix integer overflow issue in fabio

    fabio would perform some arithmetic with the frame number we provided
    it to compute byte offsets for GE images. If our frame number was
    np.uint32, for large datasets, this would cause an overflow error,
    since uint32 would be used for the byte offset.
    
    Instead, ensure a python integer is passed, which *cannot* overflow.
    
    Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
    psavery committed Mar 28, 2024
    Configuration menu
    Copy the full SHA
    e478e96 View commit details
    Browse the repository at this point in the history