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

Using the correct integer compression to get decompression working space size #2435

Conversation

NickWu
Copy link

@NickWu NickWu commented May 12, 2023

Description of Change(s)

There is an issue in _DecompressIntegers function regarding dealing with integers bigger than 4 bytes. When dealing with integers bigger than 4 bytes, it is still using Usd_IntegerCompression::GetDecompressionWorkingSpaceSize to calculate the output buffer size where it should have used Usd_IntegerCompression64::GetDecompressionWorkingSpaceSize instead.

This is the fix for this issue #2434

Fixes Issue(s)

  • I have verified that all unit tests pass with the proposed changes
  • I have submitted a signed Contributor License Agreement

@tallytalwar
Copy link
Contributor

Filed as internal issue #USD-8319

@pixar-oss pixar-oss closed this in 0478624 Oct 26, 2023
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.

2 participants