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

Explorer Null Issue in text mode #573

Merged
merged 1 commit into from Nov 14, 2022

Conversation

mailsanchu
Copy link

The problem is there is an additional null check for the text stringifier and looks like there is a bug in there.
The following are the debugging values I extracted from debugging and you can see the issue can be easily reproducible with these values.

       long fixedLengthValue = 8189729;
        int numBits = 33;
        long result = (fixedLengthValue & (1 << (numBits - 1)));
        System.out.println("result = " + result); 


        long endByte = 8189729;
        int numBitsForField = 33;
        result = (endByte & (1L << (numBitsForField - 1)));
        System.out.println("result = " + result); 


 

@dkoszewnik
Copy link
Contributor

Awesome! Thank you very much @mailsanchu

@dkoszewnik dkoszewnik merged commit 6b73292 into Netflix:master Nov 14, 2022
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

2 participants