[OpenSER-Devel] SF.net SVN: openser: [3682] trunk/modules/tm

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Feb 11 17:23:47 CET 2008


Revision: 3682
          http://openser.svn.sourceforge.net/openser/?rev=3682&view=rev
Author:   bogdan_iancu
Date:     2008-02-11 08:23:46 -0800 (Mon, 11 Feb 2008)

Log Message:
-----------
- 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.

  Testing still needed

Modified Paths:
--------------
    trunk/modules/tm/sip_msg.h
    trunk/modules/tm/t_hooks.c
    trunk/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