[OpenSIPS-Devel] [opensips] Crash with poorly given var (#529)

Liviu Chircu notifications at github.com
Fri May 29 22:53:45 CEST 2015


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

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

        #crashes
        $(DLG_dir(foo)) = 5;

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


---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/issues/529
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150529/b902c47f/attachment.htm>


More information about the Devel mailing list