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

Bug due to 'unverified_providers ' in DSSE Verify #90

Open
Yaxhveer opened this issue Sep 3, 2024 · 0 comments
Open

Bug due to 'unverified_providers ' in DSSE Verify #90

Yaxhveer opened this issue Sep 3, 2024 · 0 comments

Comments

@Yaxhveer
Copy link
Contributor

Yaxhveer commented Sep 3, 2024

I have encountered a bug related to the assignment unverified_providers := ev.providers here. The unverified_providers and ev.proviers both refer to the same underlying array. Later the verified key are removed from unverified_providers, here, but since the capacity of the array is still greater than length of unverified_providers, golang reuses the same underlying array instead of creating new one. This therefore modify the value of ev.Provider and remove the verified keys.

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

No branches or pull requests

1 participant