pidgin/android/libpurple

Parents 619f32df41f1
Children a217bdda7c4b
Fix incorrect handling of HTTP 100 responses when using the HTTP
connection method. This can lead to a crash. (Discovered by Marius
Wachtler)
--- a/ChangeLog Thu Aug 18 08:41:24 2011 +0000
+++ b/ChangeLog Thu Aug 18 08:45:22 2011 +0000
@@ -41,6 +41,9 @@
* Fix crash when NAMES is empty. (James McLaughlin) (#14518)
MSN:
+ * Fix incorrect handling of HTTP 100 responses when using the HTTP
+ connection method. This can lead to a crash. (Discovered by Marius
+ Wachtler)
* Fix seemingly random crashing. (#14307)
* Fix a crash when the account is disconnected at the time we are doing a
SB request. (Hanzz, ported by shlomif) (#12431)
--- a/libpurple/protocols/msn/httpconn.c Thu Aug 18 08:41:24 2011 +0000
+++ b/libpurple/protocols/msn/httpconn.c Thu Aug 18 08:45:22 2011 +0000
@@ -111,8 +111,8 @@
return TRUE;
}
+ size -= (s - buf);
buf = s;
- size -= (s - buf);
}
if ((s = strstr(buf, "\r\n\r\n")) == NULL)