[sr-dev] [dialog MI dlg_end_dlg] error when terminating a dialog in state 2 (never removed from memory)

Henning Westerholt henning.westerholt at 1und1.de
Mon Jul 12 18:47:20 CEST 2010


On Monday 12 July 2010, Timo Reimann wrote:
> [..]
> However, the latter is something to be done in future dialog module. To
> prevent any kind of leakage in the current implementation, my proposed
> fix would be to
> 
> (1) Deny proxy-initiated dialog termination unless the call is in the
>     "confirmed" state and

Hi Timo,

so if understand correctly this should fix the leak that was reported, as the 
refcnt should be then not increased prior it comes to this invalid internal 
state.

> (2) always decrement the reference counter during BYE response handling.

But why is this additionally necessary? Does this apply to the handling of all 
BYEs?

Henning



More information about the sr-dev mailing list