Skip to content

Conversation

@lesserwhirls
Copy link
Member

@lesserwhirls lesserwhirls commented Feb 10, 2026

Description of Changes

When decompressing a zlib compressed chunk, prevent an integer overflow when calculating the size of the ByteArrayOutputStream. Fixes #1523

PR Checklist

  • Link to any issues that the PR addresses
  • Add labels
  • Open as a draft PR
    until ready for review
  • Make sure GitHub tests pass
  • Mark PR as "Ready for Review"

When decompressing a zlib compressed chunk, prevent an integer overflow
when calculating the size of the ByteArrayOutputStream. Fixes
Unidata#1523
@lesserwhirls lesserwhirls added this to the 5.10.0 milestone Feb 10, 2026
@lesserwhirls lesserwhirls added bug Something isn't working iosp: hdf5 hdf5 file format iosp: zarr zarr format filters Issues related to filters labels Feb 10, 2026
@lesserwhirls lesserwhirls marked this pull request as ready for review February 10, 2026 21:46
@lesserwhirls lesserwhirls merged commit 2e1f627 into Unidata:maint-5.x Feb 10, 2026
14 checks passed
@lesserwhirls lesserwhirls deleted the gh-1523 branch February 10, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working filters Issues related to filters iosp: hdf5 hdf5 file format iosp: zarr zarr format

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Negative initial size when trying to read HDF5 data via Deflate

1 participant