Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transform/test: from_base64 tests using set_error #2212

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jlucovsky
Copy link
Contributor

@jlucovsky jlucovsky commented Jan 4, 2025

These tests use the set_error transform option to signal buffers that cannot be base64-decoded.

The absent keyword detects the signaling on a buffer that can't be decoded; absent with the or_else option is used when a buffer can be decoded.

Ticket

If your pull request is related to a Suricata ticket, please provide
the full URL to the ticket here so this pull request can monitor
changes to the ticket status:

Redmine ticket: https://redmine.openinfosecfoundation.org/issues/7114

These tests use the set_error transform option to signal buffers that
cannot be base64-decoded.

The absent keyword detects the signaling on a buffer that can't be
decoded; absent with the or_else option is used when a buffer can be
decoded.
@jlucovsky jlucovsky added the requires suricata fix This PR requires an issue in Suricata to be fixed first label Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires suricata fix This PR requires an issue in Suricata to be fixed first
Development

Successfully merging this pull request may close these issues.

1 participant