[Pidgin] #3543: Pidgin 2.2.1-1.fc7 crashes when sending files

Pidgin trac at pidgin.im
Tue Oct 16 17:25:48 EDT 2007


#3543: Pidgin 2.2.1-1.fc7  crashes when sending files
------------------------+---------------------------------------------------
  Reporter:  xfreebird  |       Owner:  marv                         
      Type:  defect     |      Status:  new                          
  Priority:  minor      |   Milestone:                               
 Component:  Yahoo!     |     Version:  2.2.1                        
Resolution:             |    Keywords:  crash file transfer file name
   Pending:  0          |  
------------------------+---------------------------------------------------
Comment (by QuLogic):

 It looks to me, from here:
 {{{
         /* Set the info about the incoming file. */
         if (filename) {
                 char *utf8_filename = yahoo_string_decode(gc, filename,
 TRUE);
                 purple_xfer_set_filename(xfer, utf8_filename);
                 g_free(utf8_filename);
         } else {
                 gchar *start, *end;
                 start = g_strrstr(xfer_data->path, "/");
                 if (start)
                         start++;
                 end = g_strrstr(xfer_data->path, "?");
                 if (start && *start && end) {
                         char *utf8_filename;
                         filename = g_strndup(start, end - start);
                         utf8_filename = yahoo_string_decode(gc, filename,
 TRUE);
                         g_free(filename);
                         purple_xfer_set_filename(xfer, utf8_filename);
                         g_free(utf8_filename);
                         filename = NULL;
                 }
         }
 }}}
 that the filename Pidgin gets is really weird, or `purple_url_parse`
 didn't work right, either (I guess it's the dots, but I don't know how it
 really should look). Fortunately, there is a debug message printed there,
 with what Pidgin thinks the URL and filename is. Can you get the debug log
 output as well (`pidgin -d > debug.log`) ?

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


More information about the Tracker mailing list