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

od: remove potential unsoundness and an allocation in PartialReader #1730

Merged
merged 1 commit into from Feb 18, 2021

Conversation

Arcterus
Copy link
Collaborator

This should fix the issue for the specific case of unsoundness mentioned in #1729. Note that there are still uses of Vec::set_len() elsewhere (including another in od), but I am not planning to remove them until I get an answer to my question in that issue, as removing Vec::set_len() in those places will require somewhat more intense refactoring (unless we decide to eat the hit of pointlessly initializing the Vecs combined with allocation).

@Arcterus Arcterus added U - od security Pull requests that address a security vulnerability labels Feb 18, 2021
@sylvestre sylvestre merged commit 39d62c6 into uutils:master Feb 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Pull requests that address a security vulnerability U - od
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants