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

Desktop (please complete the following information):
- rustscan 2.1.1 (from nix)
Describe the bug
Rustscan crash with failed memory allocation
To Reproduce
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

Desktop (please complete the following information):