[sr-dev] [kamailio/kamailio] Fix variable initialization and NULL pointer dereference issues (#638)

Mikko Lehto notifications at github.com
Wed May 25 13:33:13 CEST 2016


Most found with Clang 3.8 static analyzer.
Full results here: http://mslehto.iki.fi/clang-static-analyzer/kamailio/01/modules/
You can view, comment on, or merge this pull request online at:

  https://github.com/kamailio/kamailio/pull/638

-- Commit Summary --

  * modules/http_client: fix NULL pointer dereference
  * modules/rr: initialize to NULL
  * modules/uid_domain: initialize variables
  * modules/sipcapture: fix possible NULL pointer dereference
  * modules/[call_control|mediaproxy]: proper assigment to NULL pointer

-- File Changes --

    M modules/call_control/call_control.c (2)
    M modules/http_client/http_client.c (3)
    M modules/mediaproxy/mediaproxy.c (2)
    M modules/rr/record.c (6)
    M modules/sipcapture/sipcapture.c (12)
    M modules/uid_domain/uid_domain_mod.c (5)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/638.patch
https://github.com/kamailio/kamailio/pull/638.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/638
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160525/b87722a4/attachment.html>


More information about the sr-dev mailing list