changeset 13460:ca43d58cdc43

[gaim-migrate @ 15835] CID 20 (NULL deref.) committer: Tailor Script <tailor@pidgin.im>
author Daniel Atallah <daniel.atallah@gmail.com>
date Wed, 08 Mar 2006 04:29:39 +0000
parents 3e27ed592e02
children b6a63c9b0cb4
files src/protocols/yahoo/yahoo_doodle.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo_doodle.c	Wed Mar 08 04:26:06 2006 +0000
+++ b/src/protocols/yahoo/yahoo_doodle.c	Wed Mar 08 04:29:39 2006 +0000
@@ -254,6 +254,8 @@
 	int i;
 	GList *d_list = NULL; /* a local list of drawing info */
 
+	g_return_if_fail(message != NULL);
+
 	gaim_debug_info("yahoo", "doodle: Got Draw (%s)\n", from);
 	gaim_debug_info("yahoo", "doodle: Draw message: %s\n", message);