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
slice bounds out of range in tree.go #2817
Comments
@boindil
As you can see, I did not appear abnormal |
Should be the same problem with this PR: #2820 |
@jimbirthday @git-hulk would make sense. I probably have a typo in one of my calling services which would be the reason for it only affecting this one route and me not being able to reproduce this right. Good find, thanks @git-hulk ! |
@boindil OK. I closed the issue. |
Description
I stumbled upon this problem where gin seems trying to extend the slice further than the capacity allows.
I am unsure of the actual reason since my route looks pretty simple and its actually only affecting one of the routes (the others work fine).
The error only occurs, when the route is accessed.
How to reproduce
unsure, route is called as following: "/servicename/api/v1/:paramname/myresource/:paramname2"
minimal example as to how the routes are built
Expectations
No error
Actual result
runrime error
Environment
The text was updated successfully, but these errors were encountered: