Closed egandro closed 3 years ago
I sort of got it.
size is set to maxint64. It is a int32 variable - so this causes the overflow.
Thank you for raising this issue, please try latest version v1.2.2
that should work properly.
Thank you!
Thank you for raising this issue, please try latest version
v1.2.2
that should work properly.
Let me do an academic remark. It's 100% academic. We size_t of a file is afaik 64bit also on a 32bit Linux. So you might change the size to the coresponding type of the fstat() function.
I doubt that this will be ever a problem.
My GO version: $ go version go version go1.16.2 linux/arm