Skip to content

Fix: Wireshark crashes when using "important" filter - #68

Merged
oshaked1 merged 1 commit into
mainfrom
important_filter_crash
Nov 13, 2025
Merged

Fix: Wireshark crashes when using "important" filter#68
oshaked1 merged 1 commit into
mainfrom
important_filter_crash

Conversation

@oshaked1

Copy link
Copy Markdown
Contributor

The important filter assumes parse-arguments is enabled in tracee, and filters by the parsed value of the ptrace event's request field. If parse-arguments is disabled, the field is an int which causes some sort of confusion with the explicitly registered request field (defined as a string), which causes Wireshark to crash when applying a filter that compares the field's value with a string.

This commit overrides the field type of the request, and adds a new enriched field to the event, which contains the parsed request. The "important" filter now uses this parsed field instead.

The important filter assumes parse-arguments is enabled in tracee, and
filters by the parsed value of the ptrace event's request field.
If parse-arguments is disabled, the field is an int which causes some
sort of confusion with the explicitly registered request field (defined
as a string), which causes Wireshark to crash when applying a filter
that compares the field's value with a string.

This commit overrides the field type of the request, and adds a new
enriched field to the event, which contains the parsed request.
The "important" filter now uses this parsed field instead.
@oshaked1 oshaked1 self-assigned this Nov 13, 2025
@oshaked1 oshaked1 added bug Something isn't working area/dissection labels Nov 13, 2025
@oshaked1
oshaked1 merged commit 3a47be3 into main Nov 13, 2025
15 checks passed
@oshaked1
oshaked1 deleted the important_filter_crash branch November 13, 2025 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dissection bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant