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

Closes opened indexFile after reading it #491

Closed
wants to merge 1 commit into from

Conversation

souleb
Copy link
Member

@souleb souleb commented Nov 17, 2021

fixes #471

Closes opened indexFile after reading it

Replaces io.ReadAll call with an io.Copy to be more efficient.

Signed-off-by: Soule BA soule@weave.works

Replaces io.ReadAll call with an io.Copy in order to avoid memory leak
for large files.

Signed-off-by: Soule BA <soule@weave.works>
@dholbach
Copy link
Member

Looks like there's currently a conflict.

@souleb
Copy link
Member Author

souleb commented Nov 23, 2021

Looks like there's currently a conflict.

I think this is not needed anymore as a result of the work done by @hiddeco.

@hiddeco
Copy link
Member

hiddeco commented Nov 23, 2021

@souleb if you are up for it, you may still want to do a round of solving the errors gosec shows when running gosec ./....

@makkes
Copy link
Member

makkes commented Dec 3, 2021

@souleb I just took a look at the conflict and it looks like #471 is already (implicitly) addressed by @hiddeco's 9abbdd8 so we may not even need to do anything here?!

@souleb
Copy link
Member Author

souleb commented Dec 3, 2021

Yes, let's close this one.

@souleb souleb closed this Dec 3, 2021
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.

Files are opened but never closed
4 participants