[sr-dev] [kamailio/kamailio] core: fixed two double free() situations (#753)

Dragos Oancea notifications at github.com
Fri Aug 19 16:57:13 CEST 2016


I ran into these while testing with SIPP  and having memlog=1 :

kamailio[21826]: : <core> [mem/q_malloc.c:453]: qm_free(): BUG: qm_free: freeing already freed pointer (0x7f24869850f8), called
 from <core>: parser/contact/parse_contact.c: free_contact(109), first free <core>: parser/contact/parse_contact.c: free_contact(109) - aborting

kamailio[21540]: : <core> [mem/q_malloc.c:453]: qm_free(): BUG: qm_free: freeing already freed pointer (0x7f4161b971c0), called
 from <core>: data_lump_rpl.c: free_lump_rpl(107), first free <core>: data_lump_rpl.c: free_lump_rpl(107) - aborting

These two patches fix these two separate issues. 


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

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

-- Commit Summary --

  * core: fix double free on clearing hdr
  * core: fix double free on clearing lump

-- File Changes --

    M data_lump_rpl.c (5)
    M parser/hf.c (7)

-- Patch Links --

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


More information about the sr-dev mailing list