Ethereal-dev: [Ethereal-dev] Re: [Ethereal-bugs] [Bug 105] Bugs in RTCP and RTSP

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Lars Roland <lars.roland@xxxxxxx>
Date: Wed, 04 May 2005 14:36:06 +0200
Hello all,

Attached patch fixes Bug 105.

I can't check it in right now, but I'll check it in the evening unless someone else is faster.

Regards,
Lars
Index: dissectors/packet-rtp.c
===================================================================
--- dissectors/packet-rtp.c	(revision 14288)
+++ dissectors/packet-rtp.c	(working copy)
@@ -560,7 +560,7 @@
 	if ( (payload_type>95) && (payload_type<128) ) {
 		/* Use existing packet info if available */
 		p_conv_data = p_get_proto_data(pinfo->fd, proto_rtp);
-		if (p_conv_data)
+		if (p_conv_data && p_conv_data->rtp_dyn_payload)
 			payload_type_str = g_hash_table_lookup(p_conv_data->rtp_dyn_payload, &payload_type);
 	}