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

pickle: handle odd stack items length #17

Merged
merged 1 commit into from
Mar 21, 2024
Merged

pickle: handle odd stack items length #17

merged 1 commit into from
Mar 21, 2024

Conversation

sbinet
Copy link
Collaborator

@sbinet sbinet commented Mar 21, 2024

loadDict was assuming the items slice popped from the stack was always even. in the odd case where it was odd, an out-of-bound access was issued.

Fixes #16.

loadDict was assuming the items slice popped from the stack was always even.
in the odd case where it was odd, an out-of-bound access was issued.

Fixes #16.

Signed-off-by: Sebastien Binet <[email protected]>
@matteo-grella
Copy link
Member

Thank you!

@matteo-grella matteo-grella merged commit 213a4a5 into master Mar 21, 2024
2 checks passed
@sbinet sbinet deleted the issue-16 branch August 1, 2024 10:31
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.

Panic Due to Index Out of Range
2 participants