-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generated siva file contains corrupted objects #264
Comments
Hey guys, just wanted to let you know that this bug seems to be quite frequent at the subdirectory level, for the version of PGA we have on |
It is reproducible with the following repo https://github.com/zfcampus/zf-oauth2 even with current borges master. Go-git can clone this repo just fine, so the problem must be inside borges. |
Fix PR: #299 |
ML team reported
ArrayIndexOutOfBoundsException
in the engine, which was strange because it seemed to be jgit's fault. After a bit of debugging I found the offending siva file, which is:/apps/borges/10k/0a0bfaa46954437548fbaeb0e19237f84e968511.siva
and the object isbd7cb56b3bc934acda47089175733f625c6cdb37
.I made a reproduction case with jgit: https://github.com/erizocosmico/jgit-outofbounds, but it also happens with plain git.
So, it seems we're writing siva files with corrupted objects and/or deltas. Which is weird is the fact that go-git is perfectly able to read that siva file.
The text was updated successfully, but these errors were encountered: