Skip to content

Buffer overflow in server or other problems due to small & fixed buffer size #11

@anttijuu

Description

@anttijuu

incoming = new byte[4096];

The server allocates a 4096 byte buffer and reads data into it from clients. But what if client sends a request that cannot fit into 4096 bytes?! This cannot work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions