You signed in with another tab or window. Reload to refresh your session.Yo
8000
u signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upstream's assert(size) was a leftover: putObject already rejected a
negative size with a MinioInvalidArgumentError before that line was
reached, so the assert could never fire — and an assert only exists in debug
builds anyway, so it would not have helped in a release build either.
The fork removes the leftover assert and checks the argument in every build.
A negative size is rejected with a clear error:
Activity
jtkeyva commentedon Sep 12, 2021
same here
arrrrny commentedon Oct 22, 2026
Upstream's
assert(size)was a leftover:putObjectalready rejected anegative size with a
MinioInvalidArgumentErrorbefore that line wasreached, so the assert could never fire — and an assert only exists in debug
builds anyway, so it would not have helped in a release build either.
The fork removes the leftover assert and checks the argument in every build.
A negative size is rejected with a clear error:
arrrrny commentedon Oct 22, 2026
This ships in zuraffa_minio — the maintained fork of this package, which upstream has not touched since August 2025.
The fork keeps the API of the original package unchanged, so moving over is an import swap:
Source, the changelog and the sweep of the open issues of this tracker: https://github.com/arrrrny/zuraffa_minio