[Pidgin] #1092: MSNP14 branch - gmem allocation failure while connecting

Pidgin trac at pidgin.im
Sat May 19 02:24:23 EDT 2007


#1092: MSNP14 branch - gmem allocation failure while connecting
------------------------+---------------------------------------------------
  Reporter:  Pse        |       Owner:  khc                                       
      Type:  patch      |      Status:  new                                       
  Priority:  minor      |   Milestone:  Merge MSNP14 Branch                       
 Component:  libpurple  |     Version:  2.0                                       
Resolution:             |    Keywords:  msnp14 segmentation fault SOAP redirection
   Pending:  0          |  
------------------------+---------------------------------------------------
Comment (by khc):

 Can you fix the patch so it doesn't use magic constants? Like:

 {{{
 location += 17; /* Omit the tag preceding the URL */
 ...
 location += 3; /* Skip http:// or https:// */
 }}}

 also,

 {{
 if ( (c = strstr(location, "/")) != NULL ) {
 ...
 soapconn->login_path = g_strdup(c);
 }}

 and then you free soapconn->login_path right after.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1092#comment:2>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list