Skip to content

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

@rrendec

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.

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