[Pidgin] #3281: msimppl leaks memory in statstring, username, key_context, storing user info, user, MsimMessage dictionary parsing

Pidgin trac at pidgin.im
Tue Sep 25 22:26:46 EDT 2007


#3281: msimppl leaks memory in statstring, username, key_context, storing user
info, user, MsimMessage dictionary parsing
----------------------+-----------------------------------------------------
  Reporter:  jeff     |       Owner:  jeff    
      Type:  defect   |      Status:  new     
  Priority:  major    |   Milestone:  2.2.1   
 Component:  MySpace  |     Version:  2.2.0   
Resolution:           |    Keywords:  msimprpl
   Pending:  0        |  
----------------------+-----------------------------------------------------
Comment (by oliver):

 Another one:

 73 bytes in 1 blocks are definitely lost in loss record 587 of 1,585
    at 0x4020AA4: calloc (vg_replace_malloc.c:279)
    by 0x412122D: g_malloc0 (in /usr/lib/libglib-2.0.so.0.1200.11)
    by 0x4AA56AA: msim_process (myspace.c:480)
    by 0x4AA5F8A: msim_input_cb (myspace.c:1258)
    by 0x8058126: purple_glib_io_invoke (libpurpleinit.c:53)

 i guess we wont need "data" after it is encrypted at myspace.c:487
 (purple_cipher_context_encrypt() ) and can destroy it before rturning.

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


More information about the Tracker mailing list