# HG changeset patch # User Paul Aurich # Date 1272492831 0 # Node ID e96c7113d32b4a544336d654b8c478f952443014 # Parent 4eb6ac47f01fefceaa3a21a49e7ee483a27f06eb gadu-gadu: Fix a crash due to uninitialized data. Closes #11746. This is a different fix, based on feedback on the libgadu mailing list. "It's a feature, not a bug. You're supposed to iterate through the array until there's uin == 0." diff -r 4eb6ac47f01f -r e96c7113d32b libpurple/protocols/gg/gg.c --- a/libpurple/protocols/gg/gg.c Wed Apr 28 19:27:33 2010 +0000 +++ b/libpurple/protocols/gg/gg.c Wed Apr 28 22:13:51 2010 +0000 @@ -1601,12 +1601,6 @@ } break; case GG_EVENT_NOTIFY60: - purple_debug_info("gg", - "notify60_pre: (%d) status=%d; version=%d; descr=%s\n", - ev->event.notify60->uin, GG_S(ev->event.notify60->status), - ev->event.notify60->version, - ev->event.notify60->descr ? ev->event.notify60->descr : "(null)"); - for (i = 0; ev->event.notify60[i].uin; i++) { purple_debug_info("gg", "notify60: (%d) status=%d; version=%d; descr=%s\n",