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(pathfinder): Buffer pathfinder response with bufio #15

Merged
merged 1 commit into from
May 8, 2020

Conversation

hairmare
Copy link
Member

@hairmare hairmare commented May 8, 2020

We need to use bufio to buffer the pathfinder response so the buffer doesn't
need a fixed size and can't be overloaded.

I realized that the make([]byte, 2048) was overrunning by clickspamming the GPO#2 in the Pathfinder User Panel.

We need to use bufio to buffer the pathfinder response so the buffer doesn't
need a fixed size and can't be overloaded.
@hairmare hairmare merged commit e72a76e into master May 8, 2020
@hairmare hairmare deleted the fix/use-bufio branch May 8, 2020 11: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.

1 participant