[OpenSER-Devel] SF.net SVN: openser: [3908] branches/1.2/modules/tm

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Mar 10 15:15:22 CET 2008


Revision: 3908
          http://openser.svn.sourceforge.net/openser/?rev=3908&view=rev
Author:   bogdan_iancu
Date:     2008-03-10 07:15:21 -0700 (Mon, 10 Mar 2008)

Log Message:
-----------
-backport from trunk (rev #3682 , #3700, #3701, #3884, #3906):
 Fixed bogus linking of private memory to shared memory structures - private memory resulted from msg parsing was linked into the cloned shm sip_msg structured.
 There are callbacks registered to TM that do parsing of an already cloned request - like acc does, when forcing extra parsing due the extra accouting settings -> new headers (in pkg mem) link to cloned request (in shm mem).

 This was leading to crashing (alloc/free of pkg mem across diff processes) or mem leak (TM frees cloned requests as a single chunk of mem).

 Closes bug 1879864 and 1887999.

Revision Links:
--------------
    http://openser.svn.sourceforge.net/openser/?rev=3682&view=rev

Modified Paths:
--------------
    branches/1.2/modules/tm/sip_msg.h
    branches/1.2/modules/tm/t_hooks.c
    branches/1.2/modules/tm/t_reply.c


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Devel mailing list