[sr-dev] [kamailio/kamailio] presence: fix multiple double free on shutdown caught with memlog=1 (#754)

Dragos Oancea notifications at github.com
Fri Aug 19 17:03:55 CEST 2016


These small changes fix the bug shown below and another potential one. 

kamailio[3062]: : <core> [mem/q_malloc.c:453]: qm_free(): BUG: qm_free: freeing already freed pointer (0x7facf958dc08), called from presence: hash.c: delete_shtable(316), first free presence: hash.c: free_subs_list(349) - aborting

It's the double free apocalypse day :)

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

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

-- Commit Summary --

  * presence: fix multiple double free on shutdown caught with memlog=1

-- File Changes --

    M modules/presence/hash.c (11)

-- Patch Links --

https://github.com/kamailio/kamailio/pull/754.patch
https://github.com/kamailio/kamailio/pull/754.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/754
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20160819/fc76ad46/attachment.html>


More information about the sr-dev mailing list