Skip to content

Fix inncorectly ser truncated value.#48

Open
p2rkw wants to merge 1 commit intovstinner:mainfrom
p2rkw:fix_read_cstring
Open

Fix inncorectly ser truncated value.#48
p2rkw wants to merge 1 commit intovstinner:mainfrom
p2rkw:fix_read_cstring

Conversation

@p2rkw
Copy link

@p2rkw p2rkw commented Aug 4, 2019

In cases when \0 was found at index position less than max_size,
truncated should be False.

Maybe 'if' condition could be also changed, but I wanted to keep it small.

In cases when \0 was found at index less than max_size,
`truncated` should be False
@vstinner
Copy link
Owner

FYI this project is no longer maintained and is looking for a new maintainer.

Base automatically changed from master to main March 17, 2021 20:14
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.

2 participants