-
Notifications
You must be signed in to change notification settings - Fork 185
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
Truncate function issue #1966
Comments
Sorry I thought this is a PR. Cleared assignees |
Could you explain some more. |
64 = 0b1000000 |
This issue raises the concern that Truncating a key to a particular length might result in a key with a value which can be stored using a much smaller key length. e.g a key My opinion is that, the Truncate function alters the structure of the key. so a key length of seeing that the current implementation uses a fixed size Basically a STRUCTURE vs VALUE CONTENT interpretation of key.length, does it refer to the minimum bits needed to store the key (in which case we have a bug) or does it refer to simply to the length we want the key to be in (in which case we don't have a bug and can close this issue). |
Closing this, see #2322 |
Truncate function
There is a commit with a fuzz test and a possible solution.
Input:
output:
Shouldn't the length be 0?
The text was updated successfully, but these errors were encountered: