[OpenSIPS-Devel] [ opensips-Bugs-3414001 ] odd parse_via handling in seas

SourceForge.net noreply at sourceforge.net
Mon Sep 26 14:03:30 CEST 2011


Bugs item #3414001, was opened at 2011-09-26 14:03
Message generated for change (Tracker Item Submitted) made by wdoekes
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3414001&group_id=232389

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: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Walter Doekes (wdoekes)
Assigned to: Nobody/Anonymous (nobody)
Summary: odd parse_via handling in seas

Initial Comment:
Hi,

parse_via should always be followed by a free_via_list:

 * WARNING: don't forget to cleanup on error with free_via_list(vb)!

I'm unsure when parse_via would return 0. I wonder whether the checks in seas should be replaced by vb->error!=PARSE_OK instead.

See the attached patch for clarification of the issues.

Regards,
Walter Doekes
OSSO B.V.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3414001&group_id=232389



More information about the Devel mailing list