Skip to content

Rustscan crash with failed memory allocation #523

@Its-Just-Nans

Description

@Its-Just-Nans

Describe the bug
Rustscan crash with failed memory allocation

To Reproduce

rustscan -a 10.0.0.0/10 --ulimit 5000

Note that with lower mask value it doesn't crash (limit for me is /13)

Expected behavior
Maybe display a cleaner error like "Cannot scan this many addresses."

Screenshots
image

Desktop (please complete the following information):

  • rustscan 2.1.1 (from nix)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions