Blob Blame History Raw
--- trunk-1.10/epan/dissectors/packet-sip.c	2013/11/09 14:58:28	53194
+++ trunk-1.10/epan/dissectors/packet-sip.c	2013/11/09 15:44:01	53195
@@ -2134,6 +2134,10 @@
 	 */
 	orig_offset = offset;
 	linelen = tvb_find_line_end(tvb, offset, -1, &next_offset, FALSE);
+	if(linelen==0){
+		return -2;
+	}
+
 	if (tvb_strnlen(tvb, offset, linelen) > -1)
 	{
 		/*