[Pidgin] #3995: Pidgin crashes in jabber_caps_client_iqcb

Pidgin trac at pidgin.im
Mon Nov 19 09:11:37 EST 2007


#3995: Pidgin crashes in jabber_caps_client_iqcb
------------------------+---------------------------------------------------
  Reporter:  maniax     |       Owner:              
      Type:  defect     |      Status:  new         
  Priority:  minor      |   Milestone:              
 Component:  libpurple  |     Version:  2.2.2       
Resolution:             |    Keywords:  jabber crash
   Pending:  0          |  
------------------------+---------------------------------------------------
Comment (by maniax):

 Doesn't crash if recompiled with this added at line 438 at
 libpurple/protocols/jabber/caps.c

         if (!query) return;

 (I know it's an ugly hack, but there's no handling if NULL gets returned
 by
 {{{
         xmlnode *query =
 xmlnode_get_child_with_namespace(packet,"query","http://jabber.org/protocol/disco#info");
 }}}

 at caps.c:429.

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


More information about the Tracker mailing list