Thu, 25 Jun 2009 23:31:53 +0000
*** Plucked rev 6b28d34173486d3e4f658f62a61c93b56a489cb0 (sulabh@soc.pidgin.im):
This should prevent pidgin from crashing, as reported by the ticket #9426.
| libpurple/protocols/yahoo/yahoo_picture.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/yahoo/yahoo_picture.c Thu Jun 25 23:30:58 2009 +0000 +++ b/libpurple/protocols/yahoo/yahoo_picture.c Thu Jun 25 23:31:53 2009 +0000 @@ -110,6 +110,9 @@ l = l->next; } + if (!who) + return; + if (!purple_privacy_check(purple_connection_get_account(gc), who)) { purple_debug_info("yahoo", "Picture packet from %s dropped.\n", who); return;