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(types): stack overflow in ObjectIdentifier PartialEq #223

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

6d7a
Copy link
Member

@6d7a 6d7a commented Feb 12, 2024

The implementation of PartialEq<[u32]> for ObjectIdentifier did not compare the inner Cow<[u32]> but 'self' with the other [u32]. This triggered an infinite ping pong between Deref::deref and PartialEq::eq.

Closes #222

The implementation of PartialEq<[u32]> for ObjectIdentifier did not compare the inner Cow<[u32]> but 'self' with the other [u32].
This triggered an infinite ping pong between Deref::deref and PartialEq::eq.
@XAMPPRocky
Copy link
Collaborator

Thank you for your PR!

@XAMPPRocky XAMPPRocky merged commit 33d22a6 into librasn:main Feb 12, 2024
65 checks passed
@github-actions github-actions bot mentioned this pull request Mar 9, 2024
@6d7a 6d7a deleted the fix/issue-222 branch April 16, 2024 09:27
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.

stack overflow when comparing &ObjectIdentifier with &[u32]
2 participants