Reported (and verified) by Satish Patel on the developers mailing list that 
issuing the following command crashes opensips:

opensipsctl fifo dlg_list to_uri::

The p1 value is never verified to not be NULL before calling dlg_hash which 
crashes the program.  Perhaps there is a better way to resolve this problem, 
but here is my pull request.


You can view, comment on, or merge this pull request online at:

  https://github.com/OpenSIPS/opensips/pull/462

-- Commit Summary --

  * Verify the dialog mi parameter is not null before passing to dlg_hash

-- File Changes --

    M modules/dialog/dlg_hash.c (3)

-- Patch Links --

https://github.com/OpenSIPS/opensips/pull/462.patch
https://github.com/OpenSIPS/opensips/pull/462.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/462
_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to