Skip to content

smtp_server_hdle_one() may send binary data to the logs #29

Description

@rrendec

When Mailfilter runs with debug support enabled, it logs the SMTP dialogue with the client. If the client sends arbitrary binary data, smtp_server_hdle_one() will send it unmodified to the logs. Binary data is inappropriate for logs.

Non-printable characters should be replaced with their hexadecimal representation before they are sent to the logs.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions