[Pidgin] #4516: Pidgin Crashes When Connecting To SIP
Pidgin
trac at pidgin.im
Thu Nov 13 11:34:13 EST 2008
#4516: Pidgin Crashes When Connecting To SIP
------------------------------+---------------------------------------------
Reporter: onlineapps | Owner: seanegan
Type: patch | Status: new
Milestone: | Component: SIMPLE
Version: 2.3.1 | Resolution:
Keywords: sip,simple,gizmo |
------------------------------+---------------------------------------------
Changes (by rlaager):
* type: defect => patch
Comment:
Are you talking about the process_input() function? Did you just do
something like this:
{{{
purple_debug_info("simple", "\n\nreceived -
%s\n######\n%s\n#######\n\n", ctime(&currtime), conn->inbuf);
msg = sipmsg_parse_header(conn->inbuf);
/**** ADD THIS CODE: ****/
if (!msg) {
/* Shoul we re-use this error message (from lower in
the function)? */
purple_debug(PURPLE_DEBUG_MISC, "simple", "received a
incomplete sip msg: %s\n", conn->inbuf);
return;
}
}}}
--
Ticket URL: <http://developer.pidgin.im/ticket/4516#comment:19>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list