[Pidgin] #7178: libpurple/telepathy-haze crash in purple_util_write_data_to_file(_absolute)

Pidgin trac at pidgin.im
Tue Sep 23 10:30:57 EDT 2008


#7178: libpurple/telepathy-haze crash in purple_util_write_data_to_file(_absolute)
------------------------+---------------------------------------------------
Reporter:  Sunil Mohan  |        Type:  defect   
  Status:  new          |   Component:  libpurple
 Version:  2.4.3        |    Keywords:  patch    
------------------------+---------------------------------------------------
 Hi, I am using telepathy-haze on Windows and it crashes with the attached
 stack trace. The problem seems to be that my glib library are using a
 different common runtime dlls than telepathy-haze is using. So, file
 handles open with glib when used with in libpurple are causing a crash in
 purple_util_write_data_to_file_absolute.

 This MSDN article outlines the problem:
 http://msdn.microsoft.com/en-us/library/ms235460(VS.80).aspx

 If there is no strong reason otherwise, perhaps g_file_set_contents could
 be used to implement purple_util_write_data_to_file_absolute. Perhaps like
 in the attached patch.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/7178>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list