[reSIProcate] Memory leak in case of some badly formed headers in sip message

Volodymyr Tarasenko tvntsr at yahoo.com
Mon Feb 1 17:26:54 CST 2010


Hi,

As I see there is a memory leak in case reciprocate receives a sip message with some badly formed headers.

For example, if From is something like:
From: "Test" <sip:12345678 @my.test.com >
                                      ^^^^
an exception is throwing in TransactionState::process() and this will lead to memory leak: sip  message which is retrieved from Fifo will not be deleted.

I've attached simplest patch for this, but I think it should checked more carefully... 

Regards,
Volodymyr!


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mem_leak.patch
Type: text/x-patch
Size: 17692 bytes
Desc: not available
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20100201/0878a98a/attachment.bin>


More information about the resiprocate-devel mailing list