[OpenSER-Devel] [ openser-Bugs-1807667 ] transaction-variable should be restored after transaction-cb

SourceForge.net noreply at sourceforge.net
Sat Oct 20 19:59:30 CEST 2007


Bugs item #1807667, was opened at 2007-10-04 20:56
Message generated for change (Comment added) made by bogdan_iancu
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1807667&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: ver devel
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Marcus Hunger (marcushunger)
Assigned to: Bogdan (bogdan_iancu)
Summary: transaction-variable should be restored after transaction-cb

Initial Comment:
Hi,
transaction-callbacks are able to change the global transaction-variable (static struct cell *T) e.g. by using t_lookup_ident. This could lead to misbehaviour when tm tries to use T. To solve this issue run_trans_callbacks and run_reqin_callbacks should restore T after running the callback functions.

Regards

----------------------------------------------------------------------

>Comment By: Bogdan (bogdan_iancu)
Date: 2007-10-20 20:59

Message:
Logged In: YES 
user_id=1275325
Originator: NO

Hi Marcus,

Yes, indeed - that is possible (depending what you are doing in the
callbacks ;) ) - to be on the safe side, I applied your patch.

Thanks and regards,
Bogdan

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1807667&group_id=139143



More information about the Devel mailing list