https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=16228
Bug ID: 16228
Summary: Crash on Go -> Next/Previous Packet in Conversation
when no packet is selected
Product: Wireshark
Version: 3.0.6
Hardware: All
OS: All
Status: IN_PROGRESS
Severity: Major
Priority: Low
Component: Qt UI
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Build Information:
Wireshark 3.3.0 (v3.3.0rc0-17-g27f96069325c)
Copyright 1998-2019 Gerald Combs <[email protected]> and contributors.
License GPLv2+: GNU GPL version 2 or later
<https://www.gnu.org/licenses/gpl-2.0.html>
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiled (64-bit) with Qt 5.13.2, with libpcap, with POSIX capabilities
(Linux),
with libnl 3, with GLib 2.62.2, with zlib 1.2.11, without SMI, with c-ares
1.15.0, with Lua 5.2.4, with GnuTLS 3.6.10 and PKCS #11 support, with Gcrypt
1.8.5, with MIT Kerberos, with MaxMind DB resolver, with nghttp2 1.39.2, with
brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.9.10, with
QtMultimedia, with SpeexDSP (using system library), with SBC, with SpanDSP,
with
bcg729.
Running on Linux 5.3.5-arch1-1-ARCH, with Intel(R) Core(TM) i7-6700HQ CPU @
2.60GHz (with SSE4.2), with 31936 MB of physical memory, with locale
en_GB.UTF-8, with libpcap version 1.9.1 (with TPACKET_V3), with GnuTLS 3.6.10,
with Gcrypt 1.8.5, with brotli 1.0.7, with zlib 1.2.11, binary plugins
supported
(0 loaded).
Built using gcc 9.2.0.
--
Steps to reproduce:
1. Open a capture
2. Deselect the packet, so no packet is selected.
3. Press Ctrl-. (or Ctrl-,).
Expected result:
Packet selection should not change.
Actual result:
The program crashes. Backtrace on master:
ui/qt/main_window_slots.cpp:3583:55: runtime error: member access within null
pointer of type 'epan_dissect_t' (aka 'epan_dissect')
#0 0x55d988014faf in MainWindow::goToConversationFrame(bool)
ui/qt/main_window_slots.cpp:3583:55
#1 0x55d988015b00 in
MainWindow::on_actionGoPreviousConversationPacket_triggered()
ui/qt/main_window_slots.cpp:3620:5
Apparently 'edt' is NULL, so capture_file_.capFile()->edt->pi fails.
It has existed already in at least 2.6. I managed to trigger the crash with
v2.6.13rc0-16-g6c4c996e02, v3.0.7rc0-24-ge964fc198c, v3.3.0rc0-17-g27f9606932.
--
You are receiving this mail because:
You are watching all bug changes.___________________________________________________________________________
Sent via: Wireshark-bugs mailing list <[email protected]>
Archives: https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
mailto:[email protected]?subject=unsubscribe