changeset 30258:e96c7113d32b

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."
author Paul Aurich <paul@darkrain42.org>
date Wed, 28 Apr 2010 22:13:51 +0000
parents 4eb6ac47f01f
children 9882971c8085
files libpurple/protocols/gg/gg.c
diffstat 1 files changed, 0 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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",