[Pidgin] #4261: MSN Broken in 2.3.0 from upgrade

Pidgin trac at pidgin.im
Wed Dec 5 19:52:52 EST 2007


#4261: MSN Broken in 2.3.0 from upgrade
------------------------+---------------------------------------------------
  Reporter:  HiltonT    |       Owner:  khc       
      Type:  defect     |      Status:  closed    
  Priority:  minor      |   Milestone:            
 Component:  MSN        |     Version:  2.3.0     
Resolution:  duplicate  |    Keywords:  login fail
   Pending:  0          |  
------------------------+---------------------------------------------------
Comment (by FernandoGC):

 I have the same problem, and I have non-alpha numeric chars in my
 password. So I think this may be the problem.

 But I´ve took an look on the code(I dont know the purple code... so I
 guessed...=p)
 and in the nexus.c(in pidgin-2.3.0\libpurple\protocols\msn) the line

 password = g_strndup(purple_connection_get_password(session->account->gc),
 16);

 looked strange to me, so I googled and found this:

 g_strndup():
 Duplicates the first @n characters of a string, returning a newly-
 allocated
 buffer @n + 1 characters long which will always be null-terminated.
 If @str is less than @n characters long the buffer is padded with nulls.
 The returned value should be freed when no longer needed.

 the thing that looked strange to me was the 16, as I have an bigger
 password.

 I don´t know if this may be the case for the others(and if this changed
 since 2.2.1) but i thought it was worth mentioning (as i don´t have make
 and gcc right now i cant say if this is the problem)

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


More information about the Tracker mailing list