Sun, 08 May 2005 16:15:11 +0000
[gaim-migrate @ 12638]
Prevent bogus messages from causing problems
| src/protocols/msn/slp.c | file | annotate | diff | comparison | revisions |
--- a/src/protocols/msn/slp.c Sun May 08 15:21:18 2005 +0000 +++ b/src/protocols/msn/slp.c Sun May 08 16:15:11 2005 +0000 @@ -615,6 +615,12 @@ { MsnSlpCall *slpcall; + if (body == NULL) + { + gaim_debug_warning("msn", "received bogus message\n"); + return NULL; + } + if (!strncmp(body, "INVITE", strlen("INVITE"))) { char *branch;