[OpenSIPS-Devel] [ opensips-Bugs-3535432 ] avp parsing failure in h350

SourceForge.net noreply at sourceforge.net
Fri Jun 15 13:30:28 CEST 2012


Bugs item #3535432, was opened at 2012-06-15 04:30
Message generated for change (Tracker Item Submitted) made by ditegen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=3535432&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: 1.8.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Yaroslav M Strilchuk (ditegen)
Assigned to: Nobody/Anonymous (nobody)
Summary: avp parsing failure in h350

Initial Comment:
The server exits on h350 init with a brief complaint in log:

ERROR:h350:h350_auth_lookup_fixup: pv_parse_format failed
ERROR:core:fix_actions: fixing failed (code=-2) at cfg line 524
CRITICAL:core:fix_expr: fix_actions error
ERROR:core:main: failed to fix configuration with err code -2

In this particular case the failure happens only with debug=2 being set for non-debug build of the server and modules.
I didn't dig too hard but noticed that in h350_auth_lookup_fixup the first argument in the call pv_parse_format(&s,&model) is not properly initialized.
The patch in the attachment fixes the issue.


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

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



More information about the Devel mailing list