[Devel] [ openser-Bugs-1652300 ] bad parameters for sl_send_reply in presence module

SourceForge.net noreply at sourceforge.net
Mon Feb 5 11:56:51 CET 2007


Bugs item #1652300, was opened at 2007-02-05 12:56
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=1652300&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: Daniel-Constantin Mierla (miconda)
Assigned to: Daniel-Constantin Mierla (miconda)
Summary: bad parameters for sl_send_reply in presence module

Initial Comment:
Reported by Alex:

Seems, like error is in this string (publish.c):
514: if (sl_reply(msg, (char*)412, (char*)"Conditional request Faild") == -1)

sl_reply points to sl_send_reply, which prototype is:
int sl_send_reply(struct sip_msg *msg ,int code ,str *text)

Passing constant string as 3rd parameter leads to error.

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

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



More information about the Devel mailing list