Blame SOURCES/pidgin-2.10.7-CVE-2013-6484.patch

56fe68
diff -up pidgin-2.10.7/libpurple/stun.c.CVE-2013-6484 pidgin-2.10.7/libpurple/stun.c
56fe68
--- pidgin-2.10.7/libpurple/stun.c.CVE-2013-6484	2013-02-11 04:16:53.000000000 -0500
56fe68
+++ pidgin-2.10.7/libpurple/stun.c	2014-01-29 13:08:18.835817422 -0500
56fe68
@@ -175,7 +175,7 @@ static void reply_cb(gpointer data, gint
56fe68
 	struct sockaddr_in *sinptr;
56fe68
 
56fe68
 	len = recv(source, buffer, sizeof(buffer) - 1, 0);
56fe68
-	if (!len) {
56fe68
+	if (len < 0) {
56fe68
 		purple_debug_warning("stun", "unable to read stun response\n");
56fe68
 		return;
56fe68
 	}