diff options
author | Gerald Combs <gerald@wireshark.org> | 2015-07-15 16:04:21 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2015-07-15 23:05:41 +0000 |
commit | 0744e677d3d4540ad5233a34667e4e416867732d (patch) | |
tree | 5941203d08873d1bd09e891f3629b88eefc3fd37 /ui | |
parent | 4a39706272a59d43530e038f8b20436e2c3052ce (diff) |
Check for a valid pointer when ignoring a frame.
Change-Id: I1a4a6b3f729c818a68bee1b6b8de3778130252a4
Reviewed-on: https://code.wireshark.org/review/9652
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/qt/packet_list.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/qt/packet_list.cpp b/ui/qt/packet_list.cpp index 76377bfbf7..0a368a1b3e 100644 --- a/ui/qt/packet_list.cpp +++ b/ui/qt/packet_list.cpp @@ -1076,6 +1076,7 @@ void PacketList::ignoreFrame() if (!cap_file_ || !packet_list_model_) return; fdata = packet_list_model_->getRowFdata(row); + if (!fdata) return; setFrameIgnore(!fdata->flags.ignored, fdata); emit packetDissectionChanged(); |