[OpenSIPS-Devel] [opensips] xcap_client: Fix two mem corruptions. (#176)

Walter Doekes notifications at github.com
Wed Mar 12 10:24:02 CET 2014


See the two commits:

- in both cases the first item of the linked list is not freed,
- the freed memory is read
- lastly a NULL is freed (or in the second case, a NULL-dereference)
You can merge this Pull Request by running:

  git pull https://github.com/wdoekes/opensips wjd-xcapclient_mem_corrupt

Or you can view, comment on it, or merge it online at:

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

-- Commit Summary --

  * xcap_client: Fix possible memory curruption in destroy_xcapcb_list.
  * xcap_client: Fix memory leak and possible corruption in xcapFreeNodeSel.

-- File Changes --

    M modules/xcap_client/xcap_callbacks.c (6)
    M modules/xcap_client/xcap_functions.c (4)

-- Patch Links --

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

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/176
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20140312/28d604eb/attachment.htm>


More information about the Devel mailing list