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

GDALNoDataMaskBand::IRasterIO(): fix crash on memory allocation failure #9926

Merged

Commits on May 14, 2024

  1. GDALNoDataMaskBand::IRasterIO(): fix crash on memory allocation failure

    The method had a fallback path when allocating a temporary buffer of the
    size of the one passed ot the method, that intended to use a less memory
    intensive block-based approach, but this was buggy.
    Fix this, and add testing for the fallback.
    Also, when attempting the fallback, emits a CE_Warning instead of a
    CE_Failure.
    
    Fixes rasterio/rasterio#3028
    rouault committed May 14, 2024
    Configuration menu
    Copy the full SHA
    5b28d32 View commit details
    Browse the repository at this point in the history