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

add workaround for potential zlib-ng problem #1002

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

carns
Copy link
Contributor

@carns carns commented Aug 6, 2024

In some cases if zlib-ng is used as the gzip library for Darshan, it will indicate that the correct number of bytes were decompressed, but will also modify some bytes in the buffer beyond that point. In the Darshan this specifically can produce a corrupted mount table by appending erroneous characters onto the string data.

Fixes #995

- in some cases if zlib-ng is used as the gzip library for Darshan, it
  will indicate that the correct number of bytes were decompressed, but
  will also modify some bytes in the buffer beyond that point.  In the
  Darshan this specifically can produce a corrupted mount table by
  appending erroneous characters onto the string data.
@shanedsnyder
Copy link
Contributor

Looks good to me! I confirmed log reading issues with the original log and that this branch resolves those issues.

@shanedsnyder shanedsnyder merged commit 4eb4a3a into main Aug 7, 2024
16 of 17 checks passed
@shanedsnyder shanedsnyder added this to the 3.4.6 milestone Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Darshan-util fails with poorly formatted mount table
2 participants