[OpenSIPS-Devel] [opensips] Verify the dialog mi parameter is not null before passing to dlg_hash (#462)
Jarrod Baumann
notifications at github.com
Mon Apr 13 19:07:39 CEST 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150413/9ba30f99/attachment.htm>
More information about the Devel
mailing list