[sr-dev] [kamailio/kamailio] uac_redirect: segfault when calling get_redirects("1") [regression] (Issue #3197)

Alex Hermann notifications at github.com
Fri Jul 22 13:39:26 CEST 2022


Since updating to 5.6, Kamailio segfaults when calling `get_redirects("1")`.

```
#0  0x000055d12c93c527 in get_str_fparam (dst=dst at entry=0x7ffd246edfe0, msg=msg at entry=0x7f83973b6a80, param=0x0) at core/sr_module.c:1646
        val = {n = 1, s = {s = 0x1 <error: Cannot access memory at address 0x1>, len = 749136082}, re = 0x1}
        ret = <optimized out>
        avp = <optimized out>
        pv_val = {rs = {s = 0x1 <error: Cannot access memory at address 0x1>, len = 749136082}, ri = 1, flags = 0}
        __func__ = "get_str_fparam"
#1  0x00007f838d2f0a17 in w_get_redirect2 (msg=0x7f83973b6a80, max_c=0x0, reason=<optimized out>) at uac_redirect.c:337
        n = <optimized out>
        max = <optimized out>
        sreason = {s = 0x1a <error: Cannot access memory at address 0x1a>, len = -828131391}
        __func__ = "w_get_redirect2"
#2  0x000055d12c975624 in do_action (h=h at entry=0x7ffd246ee820, a=a at entry=0x7f83cedd3670, msg=msg at entry=0x7f83973b6a80) at core/action.c:1085
        ret = <optimized out>
        v = <optimized out>
...
```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3197
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/3197 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20220722/fbd2755e/attachment.htm>


More information about the sr-dev mailing list