From 7f90e4eaf36e15a1b29ad399ac4e6b81508511a0 Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Tue, 24 Nov 2015 18:44:22 +0100 Subject: VoIP: fix a crash when trying to retrieve the time of a T.38 tapped packet Rather than trying to retrieve frame_data from the packet number row (while it could be filtered) let's use pinfo Bug: 11596 Change-Id: Iadbae7630da012c72b29628384a0825511672692 Reviewed-on: https://code.wireshark.org/review/12106 Reviewed-by: Pascal Quantin --- ui/gtk/voip_calls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/gtk/voip_calls.c b/ui/gtk/voip_calls.c index 4df1ea13b5..519b93e1d6 100644 --- a/ui/gtk/voip_calls.c +++ b/ui/gtk/voip_calls.c @@ -366,7 +366,7 @@ static void insert_to_graph_t38(voip_calls_tapinfo_t *tapinfo _U_, packet_info * gchar time_str[COL_MAX_LEN]; new_gai = (seq_analysis_item_t *)g_malloc(sizeof(seq_analysis_item_t)); - new_gai->fd = packet_list_get_row_data(frame_num); + new_gai->fd = pinfo->fd; COPY_ADDRESS(&(new_gai->src_addr),src_addr); COPY_ADDRESS(&(new_gai->dst_addr),dst_addr); -- cgit v1.2.1