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

Various undefined behavior sanitizer fixes #10267

Merged
merged 12 commits into from
Jun 22, 2024

Commits on Jun 22, 2024

  1. Configuration menu
    Copy the full SHA
    f54924f View commit details
    Browse the repository at this point in the history
  2. OGRFeature::SetField(int, GIntBig): avoid UndefinedBehavior when pass…

    …ing value in [INT64_MAX - 512, INT64_MAX - 1] range
    rouault committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    993e0bf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    90ed471 View commit details
    Browse the repository at this point in the history
  4. gdal_priv_templates.hpp: implement GDALIsValueInRange<[u]int64_t]>, a…

    …nd add GDALIsValueExactAs<>
    rouault committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    0ef2d6e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    20019dc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7b93c0e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    93d9df4 View commit details
    Browse the repository at this point in the history
  8. Zarr: SerializeNumericNoData(): use CPLJSonObject::Add(uint64_t) to a…

    …void potential undefined behavior casts
    rouault committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    6ee77e9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8005cf1 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6138375 View commit details
    Browse the repository at this point in the history
  11. GDALRasterBand::ComputeStatistics(): fix bad progress percentage comp…

    …utation (recent regression caused by 42adada)
    rouault committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    66f9a52 View commit details
    Browse the repository at this point in the history
  12. OGRSpatialReference::importFromUSGS(): avoid out-of-bounds access to …

    …array (fix regression of cab1cc9)
    rouault committed Jun 22, 2024
    Configuration menu
    Copy the full SHA
    e6599bf View commit details
    Browse the repository at this point in the history