mirror of
https://github.com/minio/minio.git
synced 2025-11-21 10:16:03 -05:00
opsID, a variable on the stack, changes over the course of Completemultipartupload function in xl-v1-multipart.go. This was being used in a function closure which was passed to defer statement. The variables used in the closure depend on their values at the time of evaluation which is indeterminate behaviour. It is incorrect to depend on values of variables on stack at the end of function, when deferred functions are executed.
32 KiB
32 KiB