[OpenSIPS-Devel] [ opensips-Bugs-2820717 ] event_parse parse first parameter only

SourceForge.net noreply at sourceforge.net
Mon Jul 13 13:25:07 CEST 2009


Bugs item #2820717, was opened at 2009-07-13 14:25
Message generated for change (Tracker Item Submitted) made by tiberius_d
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086410&aid=2820717&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: core
Group: trunk
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tiberius DULUMAN (tiberius_d)
Assigned to: Nobody/Anonymous (nobody)
Summary: event_parse parse first parameter only

Initial Comment:
There is a bug in function "int event_parser(char* _s, int _l, event_t* _e)" in parse_event.c. The call
end= skip_token(params_str.s, tmp.len- _e->text.len- 1);
is wrong. This makes the function to parse first parameter only of the Event header. I have replaced it with:
end= tmp.s + tmp.len;
and it works fine now.

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

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



More information about the Devel mailing list