mirror of https://github.com/minio/minio.git
Browse Source
Current code was just using io.ReadAll() on an fd() which might have moved underneath due to a concurrent read operation. Subsequent read will result in EOF We should always seek back and read again. pread() is allowed on all platforms use io.SectionReader to read from the beginning of the file. Fixes #4842pull/4853/head

committed by
Dee Koder

1 changed files with 18 additions and 7 deletions
Loading…
Reference in new issue