Skip to content

Parsing of server messages can panic on malformed input #1

Description

@tomprogrammer

There can be an index out of bounds panic in the code responsible for parsing the server messages.

The length of the input is checked for the first token parsed, but not for the following tokens. Therefore slicing the input can panic. The faulty code is in the function parse_server_first.

Activity

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions