File wireshark-1.2.17-CVE-2011-2174.patch of Package wireshark

--- trunk/epan/tvbuff.c	2011/05/12 15:48:51	37080
+++ trunk/epan/tvbuff.c	2011/05/12 16:31:42	37081
@@ -3425,9 +3425,9 @@
 			inflateEnd(strm);
 			g_free(strm);
 			g_free(strmbuf);
-			g_free(compr);
 
 			if (uncompr == NULL) {
+				g_free(compr);
 				return NULL;
 			}
 
openSUSE Build Service is sponsored by