You signed in with another tab or window. Reload to refresh your session.You 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
The error in the logic is how we are breaking out of the loop...
I think the PR will make it more clear..If the read bytes is zero, means EOF and we break, else if it is less than expected number of bytes, than goto error.
Activity
shikharish commentedon Jan 1, 2025
It is a small fix, I will make a patch.
[pgmoneta#446] Fix lz4 decompress logic
[pgmoneta#446] Fix lz4 decompress logic
jesperpedersen commentedon Jan 1, 2025
Does the file exists ? Or does it also fail with a file that doesn't exists ?
Do we need a new error code for this ?
shikharish commentedon Jan 1, 2025
The error in the logic is how we are breaking out of the loop...
I think the PR will make it more clear..If the read bytes is zero, means EOF and we break, else if it is less than expected number of bytes, than goto error.
[#446] Fix lz4 decompress logic