[asterisk-bugs] [JIRA] Created: (ASTERISK-20222) seg fault when register via websocket

Matt Jordan (JIRA) noreply at issues.asterisk.org
Mon Aug 13 08:00:10 CDT 2012


seg fault when register via websocket
-------------------------------------

                 Key: ASTERISK-20222
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20222
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Channels/chan_sip/WebSocket
    Affects Versions: 11.0.0-beta1
         Environment: debian wheezy: Linux debian 3.2.0-3-686-pae running in a virtual machine
            Reporter: Sven Beisiegel


Asterisk has been compiled with option "--disable-asteriskssl", "DON'T OPTIMIZE"-Flag and "BETTER_BACKTRACES"-Flag
A default configuration has been created with "make samples"
The default configuration has been adjusted like in the three files below (link to pastbin)

httpd.conf: http://pastebin.com/UMmkJqxt
extensions.conf: http://pastebin.com/kKa4Mqvi
sip.conf: http://pastebin.com/JysvnpS8

The following scenario crashes Asterisk every time: 
- Register with user 100 or 101 with correct credentials for digest authentication. For registration via websockets, two clients have been used. 1) SIPML5, 2.) SIP-JS (http://code.google.com/p/sip-js)

The following does not crash Asterisk at all:
- Use a wrong user-id or password for digest authentication, Asterisk tells me that digest credentials are wrong (403 Forbidden - Auth)
- Try to register with user credentials where the user is not configured for registration via websockets, Asterisk sends a forbidden as well.

The backtrace can be found at pastebin: http://pastebin.com/bhy3RjgC

best regards,
Sven


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list