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

越界问题 #707

Closed
andyzhou opened this issue Jun 10, 2023 · 3 comments
Closed

越界问题 #707

andyzhou opened this issue Jun 10, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@andyzhou
Copy link

问题发生在ivf.go的Build()方法,由于nextCluster值为-1,导致nextClusters[nextCluster].mu.Lock()代码越界panic了。

Gorse version
0.4.12

@andyzhou andyzhou added the bug Something isn't working label Jun 10, 2023
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The problem occurs in the Build() method of ivf.go. Since the value of nextCluster is -1, the code of nextClusters[nextCluster].mu.Lock() panics out of bounds.

Gorse version
0.4.12

@zhenghaoz
Copy link
Collaborator

已经修复了 #700

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Fixed #700

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants