changeset 17783:cd2a9f9ca378

Fix a freeze caused by improper SIMPLE message parsing. Thanks, Michal Matyska! Fixes #1037
author Sean Egan <seanegan@gmail.com>
date Fri, 08 Jun 2007 20:53:59 +0000
parents 5eebb9b24e30
children cf0e01adfaa9
files COPYRIGHT libpurple/protocols/simple/simple.c
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/COPYRIGHT	Thu Jun 07 14:47:30 2007 +0000
+++ b/COPYRIGHT	Fri Jun 08 20:53:59 2007 +0000
@@ -226,6 +226,7 @@
 Lalo Martins
 John Matthews
 Simo Mattila
+Michal Matyska
 Ryan McCabe
 Peter McCurdy
 Kurt McKee
--- a/libpurple/protocols/simple/simple.c	Thu Jun 07 14:47:30 2007 +0000
+++ b/libpurple/protocols/simple/simple.c	Fri Jun 08 20:53:59 2007 +0000
@@ -1243,7 +1243,7 @@
 					foundxpidf = TRUE;
 				if(tmp2) {
 					*tmp2 = ',';
-					tmp = tmp2;
+					tmp = tmp2 + 1;
 					while(*tmp == ' ') tmp++;
 				} else
 					tmp = 0;