Skip to content

Bug-fix: Fix incorrect function call during FLUTE object compression - #69

Merged
jordijoangimenez merged 1 commit into
developmentfrom
bug-fix/incorrect-compress-fn
Aug 21, 2026
Merged

Bug-fix: Fix incorrect function call during FLUTE object compression#69
jordijoangimenez merged 1 commit into
developmentfrom
bug-fix/incorrect-compress-fn

Conversation

@davidjwbbc

Copy link
Copy Markdown
Contributor

After triggering object compression, while testing 5G-MAG/rt-mbs-transport-function#66, it was noted that the FLUTE library often crashed trying to compress the file object. This was due to a copy/paste error from the decompression routine which mistakenly used inflate() instead of deflate() during compression.

This PR corrects the compression routine to use deflate() correctly.

@davidjwbbc davidjwbbc added this to the 0.12.4 milestone Aug 21, 2026
@davidjwbbc davidjwbbc self-assigned this Aug 21, 2026
@davidjwbbc davidjwbbc added the bug Something isn't working label Aug 21, 2026
@davidjwbbc
davidjwbbc requested a review from rjb1000 August 21, 2026 16:54
@davidjwbbc davidjwbbc moved this to Ready for review in 5MBS: User Services initial release Aug 21, 2026

@rjb1000 rjb1000 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder how long this bug has been in the library?

I suspect you're the first person ever to follow this code path, @davidjwbbc!

@jordijoangimenez jordijoangimenez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great finding from @davidjwbbc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Development

Successfully merging this pull request may close these issues.

3 participants