Skip to content
This repository was archived by the owner on Oct 5, 2018. It is now read-only.

combineChunks: prevent reading the output file#3

Closed
maclav3 wants to merge 1 commit into
patdek:masterfrom
maclav3:patch-1
Closed

combineChunks: prevent reading the output file#3
maclav3 wants to merge 1 commit into
patdek:masterfrom
maclav3:patch-1

Conversation

@maclav3
Copy link
Copy Markdown

@maclav3 maclav3 commented Apr 25, 2016

In combineChunks(), the (usually incomplete) output file could be read and written into itself, increasing output file size and sometimes corrupting the file. Moved the check before ioutil.Readfile to prevent this.

In combineChunks(), the (usually incomplete) output file could be read and written into itself, increasing output file size and sometimes corrupting the file. Moved the check before ioutil.Readfile to prevent this.
@maclav3 maclav3 closed this Apr 25, 2016
@maclav3
Copy link
Copy Markdown
Author

maclav3 commented Apr 25, 2016

This is a duplicate of #1, but github.com/fzerorubigd/gongflow doesn't compile on go1.6 - unknown package "http" is imported, in addition to "net/http".

@maclav3 maclav3 reopened this Apr 25, 2016
@maclav3 maclav3 closed this Apr 25, 2016
@maclav3 maclav3 deleted the patch-1 branch April 25, 2016 10:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant