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

fix nock 9 crashing pier if axis is cell #661

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

Quodss
Copy link
Contributor

@Quodss Quodss commented Jun 20, 2024

Solves #660

Prevents Nock 9 from crashing the pier if the axis argument is a cell. Without the check Vere may call u3qc_cap on a cell, leading to a segfault or an assertion failure:

Assertion '_(u3a_is_atom(b))' failed in pkg/noun/retrieve.c:1011

To reproduce the bug, run in Dojo:

.*(0 [9 [2 2] 0 1])

Is there a way to add a unit test to guard against a downgrade?

@Quodss Quodss marked this pull request as ready for review June 20, 2024 20:33
@Quodss Quodss requested a review from a team as a code owner June 20, 2024 20:33
@pkova pkova merged commit 36900c5 into urbit:develop Jun 24, 2024
5 checks passed
@Quodss Quodss deleted the nock9-axis-depth branch June 24, 2024 12:05
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