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
Invalid XAVP use causes a crash #511
Comments
que273
pushed a commit
that referenced
this issue
Feb 16, 2016
- Fixes the crash reported in #511 (cherry picked from commit 19bb634ba043e74480c724fb7ed8a2dad43e8dda)
In the case of
the name is just considered as a static string, not a structure field reference like for xavps. It doesn't bother me that this is allowed, as all variables can have whatever they like as inner name and it is up to each to interpret it as they need. Thanks for the fixes to the bugs you reported. |
Related commits seems to be pushed now, if it is anything else to sort out, re-open. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The following code is accepted by the cfg parser and will run:
This prints:
The crash can be fixed by checking the child node type (incoming), but could there be more validation of the (x)avp variables.
I notice that $avp's can be treated as $xavps i.e. the following is accepted.
$avp(test4=>stuff) = "dominica";
Is the usage above intended to be acceptable?
The text was updated successfully, but these errors were encountered: