< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

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


Thanks for the contribution Volodymyr.

I'll look at applying this, or another similar patch, as soon as I can
get some cycles.

Scott

On Mon, Feb 1, 2010 at 6:26 PM, Volodymyr Tarasenko <tvntsr@xxxxxxxxx> wrote:
> 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!
>
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxx
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>