Skip to content
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

sourcebundle: Fix panic when RegistryMeta and Packages aren't the same size #68

Merged
merged 2 commits into from
Oct 30, 2024

Conversation

liamcervante
Copy link
Member

Replacement for #67

Seems like a copy-paste error here. I think this works most of the time because packages and registrymeta are usually the same size. But, if someone loads a package directly from Github (or another source) without going through the registry this panics.

@liamcervante liamcervante requested a review from a team October 30, 2024 10:06
@liamcervante liamcervante changed the title sourcebundle: check correct slice when sorting registry meta sourcebundle: Fix panic when RegistryMeta and Packages aren't the same size Oct 30, 2024
@liamcervante liamcervante enabled auto-merge (squash) October 30, 2024 10:07
@liamcervante liamcervante merged commit 82b71b9 into main Oct 30, 2024
9 checks passed
@liamcervante liamcervante deleted the liamcervante/fix-panic branch October 30, 2024 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants