Bugs item #1653286, was opened at 2007-02-06 14:20
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=1653286&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: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Marcus Hunger (marcushunger)
Assigned to: Nobody/Anonymous (nobody)
Summary: tm: static path_vec buffer get's assigned to shm-pointer

Initial Comment:
t_forward_nonack acquires a pointer to a branch's path vector using get_branch 
and passes it to add_uac. get_branch returns a pointer to a static buffer. 
add_uac assigns this pointer to (struct sip_msg) msg->path_vec, which later 
get's freed using shm_free. 
the attached patch fixes this by making a copy of the path vector stored in 
shared memory before assigning it.


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

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

_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel

Reply via email to