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

Issue #165 #181

Merged
merged 1 commit into from Apr 28, 2018
Merged

Issue #165 #181

merged 1 commit into from Apr 28, 2018

Conversation

CAHEK7
Copy link
Contributor

@CAHEK7 CAHEK7 commented Feb 14, 2016

Fix Issue #165 by casting unsigned values to signed. Not the best solution, but at least it makes the check work as intended.

@@ -2491,7 +2491,7 @@ DwaCompressor::uncompress
// start of the data block.
//

if ((version < 0) || (version > 2))
if (version > 2)
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be fine -- we're just testing for bogus values read from the file. Garbage should show up as >2 if we're interpreting the values as unsigned.

@meshula meshula merged commit ccde326 into AcademySoftwareFoundation:develop Apr 28, 2018
@cary-ilm cary-ilm added this to the Pre-ASWF milestone Apr 26, 2020
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.

None yet

4 participants