diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-11-24 16:35:55 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2015-11-24 17:10:40 +0000 |
commit | aa961e022490bb8e5e99b2e367fb6c6ee3367569 (patch) | |
tree | 9c9d6469e5f9cf7d543011b21bdc100bbf193914 | |
parent | b3217e225fc14dd50a2a3848434da4e2131eefe9 (diff) | |
download | wireshark-aa961e022490bb8e5e99b2e367fb6c6ee3367569.tar.gz |
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 <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
(cherry picked from commit 8c46a728fed52b0432a234274cc3e7a6fcadaf6d)
Reviewed-on: https://code.wireshark.org/review/12104
-rw-r--r-- | ui/voip_calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/voip_calls.c b/ui/voip_calls.c index e8aa446036..7eaf0ddc8d 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; |