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

Crash with poorly given var #529

Closed
liviuchircu opened this issue May 29, 2015 · 0 comments
Closed

Crash with poorly given var #529

liviuchircu opened this issue May 29, 2015 · 0 comments

Comments

@liviuchircu
Copy link
Member

Although core variables correctly handle this error, OpenSIPS will segfault when a module variable is given instead:

startup_route
{
    #works, throws error
    $ru(foo) = "foo";

    #crashes
    $T_fr_timeout(foo) = 5;
...

line 9: 5074 Segmentation fault (core dumped) ./opensips -m 64 -M 64 -w . -f ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant