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

test: fuzzing utils and csv_parser #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

test: fuzzing utils and csv_parser #6

wants to merge 1 commit into from

Conversation

yagnadeepxo
Copy link
Collaborator

Test Summary

During Fuzz tests, The assertion is failing when comparing an empty string's bytes ([]) to the result of converting that empty string to a BigUint and then back to bytes, which results in [0]. it's happening because when we convert an empty string to a BigUint using BigUint::from(0u8), it's equivalent to a BigUint representing the number 0, which, when converted back to bytes, gives [0] instead of an empty array.

To fix this issue, we need to ensure that converting an empty string to a BigUint and back maintains consistency with the original input.

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.

1 participant