Skip to content

Fix Wireshark crash when following TCP stream with JA4 plugin#257

Merged
vlvkobal merged 1 commit into
FoxIO-LLC:mainfrom
vlvkobal:fix-crash
Oct 10, 2025
Merged

Fix Wireshark crash when following TCP stream with JA4 plugin#257
vlvkobal merged 1 commit into
FoxIO-LLC:mainfrom
vlvkobal:fix-crash

Conversation

@vlvkobal

@vlvkobal vlvkobal commented Oct 9, 2025

Copy link
Copy Markdown
Collaborator

Fixes #256

This PR fixes a crash that occurred in the Wireshark GUI when using Follow -> TCP Stream with the JA4 plugin installed.

Root cause:

display_hashes_from_packet_table() could attempt to add fields under an invalid or incomplete subtree. When the GUI later traversed this subtree (e.g. during stream follow), Wireshark crashed.

Verification:

  • wireshark -r http1.pcapng -> no crash on Follow TCP Stream
  • Cannot be tested in CI, as the crash is not reproducible with tshark (it doesn’t access GUI display-tree paths)
@vlvkobal vlvkobal merged commit 21477a1 into FoxIO-LLC:main Oct 10, 2025
1 check passed
@vlvkobal vlvkobal deleted the fix-crash branch October 10, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants