[sr-dev] [tracker] Task opened: Segfault in ims_auth's ims_proxy_authenticate function when IMPU != IMPI (Attachment added)

sip-router bugtracker at sip-router.org
Thu May 30 12:48:25 CEST 2013


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Camille Oudot (coudot) 

Attached to Project - sip-router
Summary - Segfault in ims_auth's ims_proxy_authenticate function when IMPU != IMPI
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - If a client sends an INVITE with no Proxy-Authorization header, and this request is challenged using ims_proxy_authenticate(), ims_auth module tries to use the address in From header as IMPI for the MAR diameter request.
When IMPI != IMPU, the HSS replies with an error code since the user cannot be found. In that case the SIP-Auth-Data-Item AVP isn't found in the MAA answer, and avlist is never initialized in async_cdp_callback().
Adding a safety check in the "done" section prevented the crash to occur (see attached patch).

One or more files have been attached.

More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=304

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list