Navigation Menu

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

AS path fixes #81

Merged
merged 2 commits into from Feb 13, 2019
Merged

AS path fixes #81

merged 2 commits into from Feb 13, 2019

Conversation

alistairking
Copy link
Member

@digizeph i think these fixes justify a new minor (v1.2.2) release

There were some corner cases when passing a buffer too short to fit the full AS path where we tried to write past the end of the buffer.
Previously an AS path with more than ~400 hops would cause a crash when trying create an AS path string. This adds dynamic memory allocation as a fall back in such cases.
@digizeph
Copy link
Contributor

This PR addresses the issue #82 (more details in the comments there), and other potential memory exceptions during the parse of AS path field.

@digizeph digizeph merged commit 71c9333 into master Feb 13, 2019
@digizeph digizeph deleted the as-path-fixes branch February 13, 2019 15:24
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.

None yet

2 participants