From 8c46a728fed52b0432a234274cc3e7a6fcadaf6d Mon Sep 17 00:00:00 2001 From: Pascal Quantin Date: Tue, 24 Nov 2015 16:35:55 +0100 Subject: VoIP: fix a null dereference 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: I53966bfdfbeb0c5918c3524f4b9748ea425fe8a5 Reviewed-on: https://code.wireshark.org/review/12103 Petri-Dish: Pascal Quantin Tested-by: Petri Dish Buildbot Reviewed-by: Pascal Quantin --- ui/voip_calls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/voip_calls.c') diff --git a/ui/voip_calls.c b/ui/voip_calls.c index 432f79712b..a5fd553f06 100644 --- a/ui/voip_calls.c +++ b/ui/voip_calls.c @@ -442,7 +442,7 @@ static void insert_to_graph_t38(voip_calls_tapinfo_t *tapinfo, packet_info *pinf new_gai->comment = g_strdup(""); new_gai->conv_num=call_num; new_gai->line_style=line_style; - set_fd_time(edt->session, packet_list_get_row_data(frame_num), time_str); + set_fd_time(edt->session, pinfo->fd, time_str); new_gai->time_str = g_strdup(time_str); new_gai->display=FALSE; -- cgit v1.2.1