Skip to content

Vulnerability to attacks because there is no size limit #186

Closed
@BijanVan

Description

@BijanVan

let n = try_nb!(self.io.read_line(&mut self.line));

read_line function seems vulnerable to attack. If an attacker sends data continually without "\r\n" the size of buffer (String) would keep growing without a limit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions